what is the correct way to flush/delete proxy_cache without restartnginx?
Piotr Sikora
piotr.sikora at frickle.com
Wed Dec 16 13:33:14 MSK 2009
As far as I know there is no official way to flush / empty cache.
You can either:
a) purge whole cache using "rm -rf /data/nginx/proxy_cache2" (this will
somehow invalidate all cache files, because nginx won't be able to open them
anymore),
b) purge selected pages using cache_purge patch [1].
[1] http://labs.frickle.com/nginx_cache_purge
Best regards,
Piotr Sikora < piotr.sikora at frickle.com >
More information about the nginx
mailing list