Re: [squid-users] prefer parent peer

From: rihad <[email protected]>
Date: Fri, 16 Dec 2005 15:41:02 +0400

Mark Elsen wrote:
>>Is there a way to configure Squid 2 to always first try fetching through
>>the (only) parent, and if that fails, then go direct?
>>
>>Here's what I have now, and this fails miserably if x.x.x.x is down:
>>
>>cache_peer x.x.x.x parent 3128 3130 no-query default
>>never_direct allow all
>>
>
>
> Use :
>
> always_direct deny all
>
> instead of
>
> never_direct allow all
>

Ahh, I switched nonhierarchical_direct to 'off' and now 'always_direct
deny all' seems to prefer the parent. It didn't occur to me that the few
request logged as DIRECT that I saw could have been "matching
hierarchy_stoplist or not cachable request type", thus going direct.

Thank you's to all.
Received on Fri Dec 16 2005 - 04:41:15 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 31 2005 - 12:00:02 MST