Welcome! Log In Create A New Profile

Advanced

Re: Serving stale items from cache

Erik Wickstrom
September 22, 2011 05:10PM
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.

https://www.varnish-cache.org/trac/wiki/VCLExampleHashAlwaysMiss

Seems to be working.

On Thu, Sep 22, 2011 at 1:03 PM, stonor <nginx-forum@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
> (stale-while-revalidate).
>
> 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
> user.
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,214606,215654#msg-215654
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Serving stale items from cache

Erik Wickstrom September 01, 2011 01:50AM

Re: Serving stale items from cache

Andrew Alexeev September 02, 2011 12:00PM

Re: Serving stale items from cache

stonor September 22, 2011 04:03PM

Re: Serving stale items from cache

Erik Wickstrom September 22, 2011 05:10PM

Re: Serving stale items from cache

Brian Akins September 22, 2011 07:06PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 269
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready