Search squid archive

RE: Possible to Continue Serving Expired Objects When Source Becomes Unavailable?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx] 
Sent: Tuesday, January 27, 2009 7:29 AM
To: Tim McNerney
Cc: squid-users@xxxxxxxxxxxxxxx
Subject: Re:  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
>



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux