How to delete cache based on expires headers?

Indo Php iptablez at
Thu Dec 19 04:21:00 UTC 2013


I'm using proxy_cache to mirror my files with the configuration below

proxy_cache_path  /var/cache/nginx/image levels=1:2 keys_zone=one:10m inactive=7d     max_size=100g;

Our backend server has the expires header set to 600secs

Is that posibble for us to also delete the cache files located at /var/cache/nginx/image depends on the backend expire header?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list