Serving stale items from cache
erik at erikwickstrom.com
Thu Sep 22 21:09:45 UTC 2011
I ended up using Varnish for this. I set a long TTL for the cache,
and then another long "grace" period for those expired objects. Then
I use a script to loop through all of my URLs and rewarm the cache
every few days.
Seems to be working.
On Thu, Sep 22, 2011 at 1:03 PM, stonor <nginx-forum at nginx.us> wrote:
> I would love to see this too in Nginx.
> The pattern is described here: http://www.mnot.net/blog/2007/12/12/stale
> The only software I've seen this implemented in is Squid 2.7
> From time to time I see backends taking 800ms+ to generate a page at
> low traffic. It would be nice to hide most of these requests to the end
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,214606,215654#msg-215654
> nginx mailing list
> nginx at nginx.org
More information about the nginx