Re: Only fetch sibling hits

From: Duane Wessels <wessels@dont-contact.us>
Date: Thu, 10 Dec 1998 12:59:14 -0700

Charles Dale writes:

>Duane Wessels wrote:
>>
>> Graham Maltby writes:
>>
>> >I am trying to setup a cache to only deliver local or sibling hits, but do
not
>> hing in the event of a miss (ie. do not make a direct or parent request).
>> >
>> >I'm not sure this is possible, anyone have any ideas?
>>
>> What you want to do sounds very hard. Squid knows immediately if
>> an object is in the local cache, but it takes a while to learn
>> if the request is in a neighbor cache. Then, with refresh
>> paramters and other factors, the request might be a miss at
>> the neighbor, even if the object is "present."
>>
>> Duane W.
>
>Why not set never_direct allow all, having no parents only siblings?
>Then squid wouldn't go direct and wouldn't use a parent. Unless I'm
>totally wrong which I probably am.

That might work. I guess it depends on if he wants the cache users
to see the page they request, or an error message saying
"can't handle your request because none of my neighbors have it."

Duane W.
Received on Thu Dec 10 1998 - 13:01:44 MST

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