proxy_cache_bypass and proxy_no_cache
nginx-forum at nginx.us
Mon Dec 10 07:19:59 UTC 2012
I want to proxy_cache responses only with a specific cookie in request.
I thought to use
proxy_cache_bypass ! $cookie_cache;
proxy_no_cache ! $cookie_cache;
That ( ! ) does not work.
One more question, why we need to have proxy_cache_bypass and proxy_no_cache
nginx: [warn] "proxy_no_cache" functionality has been changed in 0.8.46, now
it should be used together with "proxy_cache_bypass"
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,233778,233778#msg-233778
More information about the nginx