Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

Re: FastCGI cache has stopped working

$
0
0
Maxim Dounin Wrote:
-------------------------------------------------------
> In ths particular case I would suggest there is another caching
> layer, which results in cached "X-Cache: MISS" being returned.
> Note that Expires and Last-Modified are the same, and
> X-ExecutionTime headers match exactly:

Yeah, for that particular page there's another caching layer in the app itself. The X-Cache header is added by Nginx, however (tested this by renaming it in my Nginx configuration).

Try http://dan.cx/bundles/main.css instead - This file does not have another caching layer, and you can see the Last-Modified and Expires headers changing on every request.

As far as I can tell, this is a bug in Nginx (looks like it's not parsing the Expires date correctly if the day is a single digit) and I've raised it in Trac: http://trac.nginx.org/nginx/ticket/310

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>