Re: why send ICP queries for hierarchy_stoplist matches?

From: Duane Wessels <wessels@dont-contact.us>
Date: Fri, 3 Sep 1999 13:01:11 -0600

On Fri, 3 Sep 1999, 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.

The reason that the ICP query happens is because you might have
multiple parent caches when behind a firewall.

We probably could optimize for the case when you have only one
parent.

I guess you can also achieve the same effect by adding 'no-query'
to your cache_peer line.

Duane W.
Received on Fri Sep 03 1999 - 13:20:58 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:48:15 MST