Caching not working

Jeff Mitchell jeff at jefferai.org
Tue May 15 18:08:27 UTC 2012


On 5/15/2012 5:39 AM, Maxim Dounin wrote:
> Hello!

Hi! :-)

>> under /var/tmp/nginx/proxy. However, nothing shows up in the
>> cache...I've tried tweaking all sorts of parameters (including the
>> proxy_ignore_headers, even though I only see Set-Cookie coming from the
>> backend) but nothing has helped.
> 
> To cache fastcgi responses got via fastcgi_pass you have to use 
> fastcgi_cache, not proxy_cache.

Ugh. Complete and utter PEBKAC.

Thanks a bunch, it works now.

--Jeff



More information about the nginx mailing list