Skipping the proxy cache based on a cookie?

Dayo nginx-forum at nginx.us
Thu Jan 20 23:08:38 MSK 2011


Thanks agentzh.

The Lua code you gave works and does what I need here.

Still would be great to have an option like ...

[code]
proxy_cache_bypass_empty $var;
proxy_no_cache_empty $var;
[/code]

... in the main proxy module though.

Anyway, solved at least.

Thanks again.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,161969,168015#msg-168015




More information about the nginx mailing list