[Flask] Is filesystem cache safe between processes?

Markus Unterwaditzer markus at unterwaditzer.net
Fri Mar 2 10:43:43 EST 2018


They can. Filesystem can be used concurrently.

On 2 March 2018 14:42:38 GMT+01:00, Skip Montanaro <skip.montanaro at gmail.com> wrote:
>Looking to add a Flask cache (flask_cache module) for an application
>which sits behind uwsgi. My Flask app will thus exist as multiple
>worker processes. Can they share the same filesystem-based cache? This
>is my first foray into caching in Flask, so I don't want to
>immediately dive into more complex solutions like Redis or memcached
>caching.
>
>Thx,
>
>Skip Montanaro
>_______________________________________________
>Flask mailing list
>Flask at python.org
>https://mail.python.org/mailman/listinfo/flask

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/flask/attachments/20180302/c7f9758c/attachment.html>


More information about the Flask mailing list