Search squid archive

Re: prefer parent peer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux