ariel_esp nginx-forum at
Mon Jun 23 14:56:17 UTC 2014

I am trying setup fastcgi_cache.
Working fine.... BUT I need bypass some pages... when theses pages have
header "no-cache".... but I dont know how to do this...
The rules for bypass using urls, work fine.. like this:

if ($request_uri ~*
        set $cache_uri 'null cache';

How can I bypass cache setting header page "no-cache" ?
Example, in varnish work fine:
 if (req.http.Cache-Control ~ "no-cache")
    return (pipe);


Posted at Nginx Forum:,251112,251112#msg-251112

More information about the nginx mailing list