<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">Hello!</div><div class="gmail_quote"><br></div><div class="gmail_quote">Thanks for your reply, Maxim. My (old) subscription settings prevent</div><div class="gmail_quote">me from replying directly to your message so I'll just continue here.</div><div class="gmail_quote"><br></div><div class="gmail_quote">You're correct, my original patch was too aggressive in that it would</div><div class="gmail_quote">simply cache all stale (but otherwise cacheble) responses so long</div><div class="gmail_quote">as "proxy_cache_revalidate" was "on". I was trying to cover the</div><div class="gmail_quote">  <a href="https://trac.nginx.org/nginx/ticket/778">https://trac.nginx.org/nginx/ticket/778</a><br></div><div class="gmail_quote">ticket as well, even if it was not needed for my use case. I've prepared</div><div class="gmail_quote">another patch that I'll submit in a moment.</div><div class="gmail_quote"><br></div><div class="gmail_quote">Best regards,</div><div class="gmail_quote">Thorvaldur</div></div></div>