NGINX proxy_cache not working

by rajesh 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;

Tagged in:

706
like
0
dislike
0
mail
flag

You must LOGIN to add comments