Welcome! Log In Create A New Profile

Advanced

FastCGI cache has stopped working

March 03, 2013 07:32AM
Nginx's FastCGI caching used to work perfectly for me, but recently it stopped working and I can't work out why.

This is how the headers look:
HTTP/1.1 200 OK
Server: nginx/1.2.7
Date: Sun, 03 Mar 2013 12:28:24 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 10727
Connection: keep-alive
X-AspNetMvc-Version: 4.0
X-AspNet-Version: 4.0.30319
Expires: Sun, 3 Mar 2013 13:28:24 GMT
Cache-Control: public, max-age=3600
Last-Modified: Sun, 3 Mar 2013 12:26:20 GMT
X-Cache: MISS

It appears that the Last-Modified, Expires and Cache-Control headers are set correctly, however the cache status is always "MISS" and the cache directory is empty. Any ideas on why this would be happening, and how to debug this?

The site URL is http://dan.cx/, and here is my Nginx configuration for this site: https://github.com/Daniel15/Website/blob/master/nginx.conf

Thanks!
SubjectAuthorPosted

FastCGI cache has stopped working

Daniel15March 03, 2013 07:32AM

Re: FastCGI cache has stopped working

Daniel15March 03, 2013 07:45AM

Re: FastCGI cache has stopped working

Maxim DouninMarch 03, 2013 07:58AM

Re: FastCGI cache has stopped working

Daniel15March 03, 2013 08:02AM

Re: FastCGI cache has stopped working

Maxim DouninMarch 03, 2013 08:08AM

Re: FastCGI cache has stopped working

Maxim DouninMarch 03, 2013 08:06AM

Re: FastCGI cache has stopped working

Daniel15March 04, 2013 06:53AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 86
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready