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

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 31 Jan 2009 14:18:49 +1300

Gregori Parker wrote:
> 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

There are plans to port it one day. It's hoped to be in 3.2 and later.

Amos

>
> -----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
>>
>

-- 
Please be using
   Current Stable Squid 2.7.STABLE5 or 3.0.STABLE12
   Current Beta Squid 3.1.0.4
Received on Sat Jan 31 2009 - 01:18:42 MST

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