Re: [SQU] If squid can't surf directly, then get from next cache-parent

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 31 Oct 2000 20:08:06 +0100

Danny Sinang wrote:
>
> Hello.
>
> How do I configure Squid 2.3.1 to do the following :
>
> 1. Fetch pages DIRECTly
> 2. If it can't fetch directly, then fetch it from the specified cache_peer
> parent

Specify the peer as a non-ICP peer (the "no-query" option).

Set "prefer_direct" to "on" (the default value).

A draft outline of the peer selection order:

1. digest HIT peers
2. ICP HIT peers
3. ICP miss peers
4. DIRECT if prefer_direct is on
5. "default" peer
6. "round-robin" peers
7. other non-ICP peers
8. DIRECT

--
Henrik Nordstrom
Squid hacker
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Tue Oct 31 2000 - 12:36:27 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:56:04 MST