Forum: NGINX proxy_cache_bypass and proxy_no_cache

Posted by amodpandey (Guest)
on 2012-12-10 08:20
(Received via mailing list)
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
else
nginx: [warn] "proxy_no_cache" functionality has been changed in 0.8.46, 
now
it should be used together with "proxy_cache_bypass"

Help Please!

Regards
Amod

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?2,233778,233778#msg-233778
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.