<div dir="ltr"><div><div>What about uwsgi caching ?<br></div>They can share. I don't know about "writing" though. <br>May have conflict 2 processes writing to the same file at the same time.<br></div>File-based caching was used a lot in php-life when I used to do it, so it should work.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 2, 2018 at 2:42 PM, Skip Montanaro <span dir="ltr"><<a href="mailto:skip.montanaro@gmail.com" target="_blank">skip.montanaro@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Looking to add a Flask cache (flask_cache module) for an application<br>
which sits behind uwsgi. My Flask app will thus exist as multiple<br>
worker processes. Can they share the same filesystem-based cache? This<br>
is my first foray into caching in Flask, so I don't want to<br>
immediately dive into more complex solutions like Redis or memcached<br>
caching.<br>
<br>
Thx,<br>
<br>
Skip Montanaro<br>
______________________________<wbr>_________________<br>
Flask mailing list<br>
<a href="mailto:Flask@python.org">Flask@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/flask" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/flask</a><br>
</blockquote></div><br></div>