NGINX proxy_cache not working
by rajesh[ Edit ] 2012-04-15 01:25:48
One simple reason for NGINX proxy_cache not working properly would have been that of response headers (Cache-Control,
Expires, presence of Set-Cookie header) disable caching.
This can be prevented by adding
proxy_ignore_headers Cache-Control Expires;