J. Peng wrote:
this is my squid and its complied options:
$ /usr/local/squid/sbin/squid -v
Squid Cache: Version 2.6.STABLE18
configure options: '--prefix=/usr/local/squid-2.6'
'--enable-async-io=256' '--enable-epoll' '--disable-carp'
'--enable-removal-policies=heap lru' '--disable-wccp'
'--disable-wccpv2' '--enable-kill-parent-hack' '--with-large-files'
'--with-maxfd=65535' '--disable-ident-lookups'
thanks!
On Wed, Feb 20, 2008 at 5:06 PM, Amos Jeffries <squid3@xxxxxxxxxxxxx> wrote:
J. Peng wrote:
> hello,
>
> How to handle the case of the original server was down? I use squid
> for reverse-proxy, if I add some lines like:
>
> cache_peer parentcache.example.com parent 80 0
> cache_peer childcache2.example.com sibling 80 0
> cache_peer childcache3.example.com sibling 80 0
>
> if original server was down, does squid go to query other caches like above?
Yes.
> Will squid get cache MISS object from its sibling?
Yes, IFF the sibling has it fresh.
> or it can only get
> cache MISS object from the parent?
Sources by preference I think are:
local cache
parent
sibling
direct
Amos
--
Please use Squid 2.6STABLE17+ or 3.0STABLE1+
There are serious security advisories out on all earlier releases.