fastcgi_cache problem


#1

Hi, my site is wp3.5 with buddypress, I followed your Nginx + WordPress-Multisite + Subdomains + fastcgi_cache tutorial, everything seems to be working fine except for the fastcgi-cache. I have to add " fastcgi_ignore_headers Cache-Control Expires Set-Cookie;" to make it working. Is it ok to add this line? Will there be any cookies issue or any other issues with this line?

Thank You.


#2

fastcgi_ignore_headers Cache-Control Expires Set-Cookie

Its perfectly fine. We are using that kind of line here. Some WordPress plugins sends unnecessary headers which if not ignored will not allow nginx to cache properly.

Still, test with:

fastcgi_ignore_headers Cache-Control Expires

i.e. removing “Set-Cookie”. If it works then its better that way.


#3