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

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 27 Jan 2009 14:51:48 +1300

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

Not possible in 2.6.

You need 2.7 with stale-while-* options
http://www.squid-cache.org/Doc/config/refresh_pattern/

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE5 or 3.0.STABLE12
   Current Beta Squid 3.1.0.4
Received on Tue Jan 27 2009 - 01:51:45 MST

This archive was generated by hypermail 2.2.0 : Tue Jan 27 2009 - 12:00:03 MST