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]

 



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

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

  Powered by Linux