Hello!

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 
directory.

-- 
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to