Nginx: conditional "expires" directive

somebi nginx-forum at nginx.us
Tue Aug 16 16:13:25 UTC 2011


Getting two max-age headers in result. One with 1 year and second with
3600. ?no_cache=1 gives the same result.
if ($arg_no_cache) { set $ccontrol "no-cache";} is ignored do not know
why
if ($args ~ "no_cache=1") { set $ccontrol "no-cache";} ignored as well

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



More information about the nginx mailing list