Re: [squid-users] how to use neighbor_type_domain ?
ons 2007-01-03 klockan 11:57 +0700 skrev pak kumis: 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 In a sibling relation the peers only share cached information. Requests is never forwarded via a sibling relation. If you want requests forwarded via another peer then it needs to be a parent relation. Please note that in this world the parent may have a sibling relation to it's child, but most time having such relation is redundant. Regards Henrik signature.asc Description: Detta är en digitalt signerad meddelandedel
Re: [squid-users] how to use neighbor_type_domain ?
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.6sibling 3128 3130 neighbor_type_domain 202.xx.123.6 parent .myipaddress.com the second squid is cache_peer 202.xx.112.36sibling 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
[squid-users] how to use neighbor_type_domain ?
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.6sibling 3128 3130 neighbor_type_domain 202.xx.123.6 parent .myipaddress.com the second squid is cache_peer 202.xx.112.36sibling 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