Caching not working
Maxim Dounin
mdounin at mdounin.ru
Tue May 15 09:39:34 UTC 2012
Hello!
On Mon, May 14, 2012 at 09:24:06PM -0400, Jeff Mitchell wrote:
[...]
> proxy_cache quickgit;
[...]
> fastcgi_pass 127.0.0.1:9000;
[...]
> 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.
Maxim Dounin
More information about the nginx
mailing list