Re: [squid-users] parent cache information

From: Raj <[email protected]>
Date: Fri, 17 Feb 2006 11:40:33 +1100

Thanks a lot for your help once again. If I add proxy-only option on
the peer_cache line Server B wont cache anything right? Because Server
A is facing the internet and it will cache everything. Lets say I
access the website google.com, Server A will cache google.com. Since
Server A has google.com in the cache Server B wont cache that web
site. Then why should I enable cache_dir on Server B. I am a bit
confused here about how the caching works. Please reply.

On 2/17/06, Chris Robertson <crobertson@gci.com> wrote:
> > -----Original Message-----
> > From: Raj [mailto:sunfire2005@gmail.com]
> > Sent: Thursday, February 16, 2006 2:39 PM
> > To: Chris Robertson
> > Cc: squid-users@squid-cache.org
> > Subject: Re: [squid-users] parent cache information
> >
> >
> > Hi Chris,
> >
> > Thanks for your reply. I checked squid -v output on both servers.
> >
> > /opt/squid/sbin/squid -v
> > Squid Cache: Version 2.5.STABLE10
> > configure options: --prefix=/opt/squid --enable-auth=ntlm,basic
> > --enable-external-acl-helpers=wbinfo_group --localstatedir=/var/squid
> > --enable-snmp
> >
> > "--enable-storeio=ufs,aufs" is not there. Can I still change the
> > cache_dir line to use aufs.
>
> I don't think so. To the best of my knowledge, aufs is not a default storeio method. You could try changing it, and then run "squid -k parse" to check. Recompiling Squid at some time in the future (using the latest source) would likely be advisable. Stable12 has been out for a while, and is the only "officially" supported version at this time.
>
> >
> > I don't have proxy-only option on the cache_peer line on Server B.
> > Below is the cache_peer option on server B.
> >
> > cache_peer ServerA parent 3128 3130 weight=15 no-query no-digest
> > cache_peer ServerC parent 3128 3130 weight=10 no-query no-digest
> >
> > Should I change the above lines to
> >
> > cache_peer ServerA parent 3128 3130 no-digest proxy-only
> > cache_peer ServerC parent 3128 3130 no-digest proxy-only
> >
>
> cache_peer ServerA parent 3128 3130 no-query no-digest proxy-only
> cache_peer ServerC parent 3128 3130 no-query no-digest proxy-only
>
> Since I imagine Server B is prevented from accessing the internet directly there is no point to performing ICP queries (hence the no-query) on the parents.
>
> > Please advise.
> >
> > Regards.
> >
> >
>
> Chris
>
Received on Thu Feb 16 2006 - 17:40:38 MST

This archive was generated by hypermail pre-2.1.9 : Wed Mar 01 2006 - 12:00:03 MST