Choose cache peer based on Content-Length HTTP header

From: Craig Appleton <c.g.appleton@dont-contact.us>
Date: Wed, 13 Dec 2006 18:34:56 +1300

---------- Forwarded message ----------
From: Craig Appleton <c.g.appleton@gmail.com>
Date: 13-Dec-2006 18:30
Subject: Choose cache peer based on Content-Length HTTP header
To: squid-users@squid-cache.org

I have two gateways on a LAN both running squid. (siblings) One link is a fast
high cost link, one is a slow low cost link.

I would like HTTP requests under 1MB (Web Browsing) to go via the
cache at the fast link and requests over 1MB (Bulk downloads) to go
via the cache at the slow link. Is this possible? If not is there a
patch that would do this?

Re implimentation maybe sends a HEAD request via the fast link to
determine the content-length header then proceeds to choose link for
GET request based on that.
Something like that.

Thanks in advance.

--
Craig Appleton
Email: c.g.appleton@gmail.com
Phone: +64 27 472 9531
MSN Messenger: c_g_appleton@hotmail.com
-- 
Craig Appleton
Email: c.g.appleton@gmail.com
Phone: +64 27 472 9531
MSN Messenger: c_g_appleton@hotmail.com
Received on Tue Dec 12 2006 - 22:35:41 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 30 2006 - 12:00:04 MST