hierarchy_stoplist has a lower priority than never_direct, so Squid will
use ICP to try to find the fastest parent to use.
If you only have one parent then there is no need to use ICP at all.
Configure the parent with the no-query option in the cache_peer line.
-- Henrik Nordstrom Spare time Squid hacker Don Lewis wrote: > > I'm running Squid 2.2.STABLE4 behind a firewall, so I have it > configured with a never_direct acl that matches anything outside the > firewall in order to get Squid to fetch through its parent cache, which > is outside the firewall. I noticed that Squid does an ICP query for > URLs that match its hierarchy_stoplist, which it would normally fetch > directly if it weren't behind the firewall. This ICP query seems kind > of wasteful, since the parent cache won't have the object cached. It > seems to me that it would be better to just do the http query for > anything that is known to be uncacheable.Received on Fri Sep 03 1999 - 12:38:01 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:48:15 MST