RE: [squid-users] Possible to Continue Serving Expired Objects When Source Becomes Unavailable?

From: Gregori Parker <Gregori.Parker_at_theplatform.com>
Date: Tue, 27 Jan 2009 09:25:42 -0800

Are there any plans to add the stale-if* options to the 3.0 train? I'm
very interested in this option and would like to see its usage/effects
better documented

-----Original Message-----
From: Chris Woodfield [mailto:rekoil_at_semihuman.com]
Sent: Tuesday, January 27, 2009 7:29 AM
To: Tim McNerney
Cc: squid-users_at_squid-cache.org
Subject: Re: [squid-users] Possible to Continue Serving Expired Objects
When Source Becomes Unavailable?

2.7 supports the "stale-if-error" cache-control directive, which will
accomplish this goal. The only caveat (AFAIK) is that it will only
continue to serve objects if origin returns a 500 server error or if
the origin is unreachable; if the origin returns a 404 it will flush
the object and pass the 404 through.

http://tools.ietf.org/html/draft-nottingham-http-stale-if-error-01

-C

On Jan 26, 2009, at 7:52 PM, Tim McNerney wrote:

> Is it possible to configure Squid so that if an object becomes stale
> and the server tries to fetch a current copy of the object, but the
> object/server is unavailable, it will continue serving the cached
> version?
>
> If so, what other control can be used in this case? Say you want to
> allow it to run an hour over expiration before purging it. Or you
> wanted to set how often to retry the source server.
>
> This question is specifically for 2.6, but it would be great to know
> if things have changed with newer versions.
>
> Thanks.
>
> --Tim
>
Received on Tue Jan 27 2009 - 17:25:48 MST

This archive was generated by hypermail 2.2.0 : Sat Jan 31 2009 - 12:00:03 MST