[squid-users] Is it possible to send the connection, starting with the CONNECT, to cache-peer?

Amos Jeffries squid3 at treenet.co.nz
Wed Sep 16 15:34:55 UTC 2015


On 17/09/2015 3:18 a.m., Yuri Voinov wrote:
> 
> This:
> 
> http://osdir.com/ml/web.squid.general/2003-04/msg00800.html
> 
> does not work.

Do you have always_direct rules that match the request(s)?
 or "nonhierarchical_direct on" ?

The order of invocation is:

 nonhierarchical_direct (on means dont use peers for methods which are
uncacheable)

 always_direct (allow means dont use peers at all)

 never_direct (allow means dont use DIRECT/ORIGINAL_DST)

 prefer_direct (on means use peers as last resort)

 cache_peer_access (deny means dont use this peer)

Amos


More information about the squid-users mailing list