nginx 1.8.0 http_proxy cache issues

Maxim Dounin mdounin at
Tue Aug 18 12:12:59 UTC 2015


On Tue, Aug 18, 2015 at 07:17:41AM -0400, adrian.biris wrote:


> I have noticed that when I restart nginx (using restart or just simple stop
> and then start) the cache is not invalidated as it used to be.
> After each restart I get HIT for all pages that were valid in cache before
> the restart.
> Did anyone else noticed this behavior ? If yes, how did you fix it?

Caches are not expected to be invalidated on restart (and they 
never used to be).  If you want nginx to avoid using previously 
cached responses after a restart, you can remove the cache 

Maxim Dounin

More information about the nginx mailing list