Re: [squid-users] smart caching...

From: Arindam Haldar <arindam@dont-contact.us>
Date: Wed, 11 Sep 2002 11:54:36 +0530

henrik,
thanx so much..... :)

Henrik Nordstrom wrote:
> This kind of things is best controlled by using the cache_peer_access or
> neighbor_type_domain directives.
>
> Something like the following should do it I think:
>
> cache_peer your.squid2.address parent 3128 0 no-query connect-timeout=2
> acl squid2_domains dstdomain .com
> acl squid2_destinations dst xx.yy.0.0/16
> cache_peer_access allow squid2 squid2_domains
> cache_peer_access allow squid2 squid2_destinations
> prefer_direct off
> nonhierarchical_direct off
>
>
> but several other configurations are possible depending on what you
> really want when it comes to load balancing, failover and sharing of
> cache content.
>
> Regards
> Henrik
>
>
> Arindam Haldar wrote:
>
>>hi all,
>>we have two internet links(after merger).. both links have a squid cache
>>each(i say **each** becaus of the ip distribution/allocation)..
>>modifying our setup a little v have made our exsisting squid cache as
>>main cache(we will call it squid 1) & other acting as parent for .com
>>sites( we will call it squid 2)..
>>i have seen that a big network( xx.yy.0.0/16) reaches in significantly
>>lesser hops with squid 2.. i want to change my conf for squid 1 so that
>>it passes queries for that network to squid 2.. am so far unable to do
>>that..
>>pls help in getting it done....
>>thanking in advance...
>>A.H
>
Received on Wed Sep 11 2002 - 00:16:53 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:10:12 MST