Re: [squid-users] other cache_peer

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 17 May 2005 00:05:37 +0200 (CEST)

On Sat, 14 May 2005, azeem ahmad wrote:

> i want to rediredct user's traffic over a certain size say 1 MB to another
> parent cache_peer. mean if a user requests a file that is big than 1 MB then
> its request must be completed through another cache_peer.

This is hard as the size is only known when the file is received, and at
that point is is quite too late to forward the request via another parent.

What you can do is to guess based on URL patterns and send requests which
are likely to result in large files via this other parent. See
urlpath_regex and cache_peer_access.

Regards
Henrik
Received on Mon May 16 2005 - 16:05:39 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Jun 01 2005 - 12:00:03 MDT