Re: [squid-users] how to use neighbor_type_domain ?

From: Chris Robertson <crobertson@dont-contact.us>
Date: Wed, 03 Jan 2007 13:55:14 -0900

pak kumis wrote:
> hello,
>
> i configure my squid to make sibling with my other squid.
> my first squid have ip address 202.xx.112.36 and the second is
> 202.xx.123.6
>
> my computer is connected to first squid (202.xx.112.36)
>
> the configuration in first squid is
> cache_peer 202.xx.123.6 sibling 3128 3130
> neighbor_type_domain 202.xx.123.6 parent .myipaddress.com
>
> the second squid is
> cache_peer 202.xx.112.36 sibling 3128 3130
>
> when i browsing from my computer via first squid to
> www.myipaddress.com, why the site detect my first squid
> ip(202.xx.112.36), not the second ip (202.xx.123.36) ?
> How to make the site is detect from 202.xx.123.36
>
> both squid use same version, squid 2.6.6
>
> Thanks,
>
> regards,
>
> adi

By default, squid won't use parents (or sibling) caches on objects that
are not cacheable. www.myipaddress.com sets cookies, redirects and has
no freshness information available. In short, it's VERY
cache-unfriendly. Look into the nonhierarchical_direct or never_direct
settings in squid.conf to mitigate this.

Chris
Received on Wed Jan 03 2007 - 15:55:43 MST

This archive was generated by hypermail pre-2.1.9 : Thu Feb 01 2007 - 12:00:00 MST