Re: false-hit recovery bug

From: Brian Degenhardt <bmd@dont-contact.us>
Date: Fri, 9 Mar 2001 16:55:01 -0800

On Fri, Mar 09, 2001 at 05:44:39PM -0700, Alex Rousskov wrote:
>
> > 2) Why do we send an "only-if-cached" directive when fetching from
> > siblings? Ideally, shouldn't this be configurable?

This is configurable. There is the allow-miss option for cache_peers.
Granted it seems to be a 2.4 extension, but it's there.

> As far as I understand, siblings, by definition, do not serve misses.
> Thus, adding only-if-cached is essential in detecting false hits.
> Without only-if-cached, Squid will not be able to detect a false hit
> (in an HTTP-friendly way) and re-fetch the request.
>
> If you have a peer cache that is willing to fetch your misses, call
> that cache a parent, not sibling (again, by definition).

If this is the case, then what is the difference between a sibling with the
allow-miss option set and a parent?

-bmd
Received on Fri Mar 09 2001 - 17:55:03 MST

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