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!
Subject Author Posted

FastCGI cache has stopped working

Daniel15 March 03, 2013 07:32AM

Re: FastCGI cache has stopped working

Daniel15 March 03, 2013 07:45AM

Re: FastCGI cache has stopped working

Maxim Dounin March 03, 2013 07:58AM

Re: FastCGI cache has stopped working

Daniel15 March 03, 2013 08:02AM

Re: FastCGI cache has stopped working

Maxim Dounin March 03, 2013 08:08AM

Re: FastCGI cache has stopped working

Maxim Dounin March 03, 2013 08:06AM

Re: FastCGI cache has stopped working

Daniel15 March 04, 2013 06:53AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 68
Record Number of Users: 7 on May 23, 2016
Record Number of Guests: 238 on March 17, 2016
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready