Re: [squid-users] Parent selection mechanism?

From: Amos Jeffries <squid3@dont-contact.us>
Date: Wed, 16 Apr 2008 00:29:00 +1200

Janis wrote:
> Hi!
>
> Is there some possibility to tell to secondary proxy which parent
> (cache_peer) to connect depending from received request.
>
> for example, if sec. recievs reqest for page from address
> xxx.xxx.xxx.xxx, ir selects parent1, iy - yyy...yyy - parent2 etc.
>
> The reason - parent1 serves better external zone1 (has no traffic
> limits, for example), parent2 - zone2 (which has some limits, but for a
> range of requests2 these limits plays no role)

cache_peer_access.

The ACL part can contain any combination of request ACL.

http://www.squid-cache.org/Versions/v2/2.6/cfgman/cache_peer_access.html
http://www.squid-cache.org/Versions/v3/3.0/cfgman/cache_peer_access.html

Amos

-- 
Please use Squid 2.6.STABLE19 or 3.0.STABLE4
Received on Tue Apr 22 2008 - 13:28:37 MDT

This archive was generated by hypermail 2.2.0 : Thu May 01 2008 - 12:00:04 MDT