Re: [squid-users] parent cache

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 28 Oct 2004 00:46:58 +0200 (CEST)

On Wed, 27 Oct 2004 Jim_Brouse/PYT@PASCUAYAQUITRIBE.ORG wrote:

> I have been reading documentation at the below two urls and what I can not
> determine is that do I need to enable something on server a if it is going
> to be a parent to server b or do I just need to tell server b which server
> is its parent?

You need to make A allow B as a client if it is not already in the list of
allowed clients, and to configure B to use A as it's parent.

No other configuration on A is required.

> cache_peer parentcache.foo.com parent 3128 0 no-query default
> acl all src 0.0.0.0/0.0.0.0
> never_direct allow all
>
> or
>
> cache_peer parentcache.foo.com parent 3128 0 no-query
> prefer_direct off

Depends on what you want. The first always uses the parent, the second
prefers to use the parent if available and it makes sense for the request
in terms of caching, if not it will go direct.

Regards
Henrik
Received on Wed Oct 27 2004 - 16:47:00 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Nov 01 2004 - 12:00:02 MST