Re: fastcgi_cache_bypass. Need some explain.
Hello! On Thu, Sep 11, 2014 at 12:01:00PM +0300, wishmaster wrote: > Hi, > > I am attempting to configure nginx to avoid caching some data. > > map $http_x_requested_with $no_cache { > default 0; > "XMLHttpRequest" 1; > } > > fastcgi_cache_bypass
fastcgi_cache_bypass. Need some explain.
Hi, I am attempting to configure nginx to avoid caching some data. map $http_x_requested_with $no_cache { default 0; "XMLHttpRequest" 1; } fastcgi_cache_bypass $no_cache; fastcgi_no_cache $no_cache; With above configuration exceptions work