Re: Splitting requests ...

From: Miguel A.L. Paraz <>
Date: Sat, 19 Apr 1997 15:47:27 +0800 (HKT)


Garry Glendown wrote:
> E.g., squid would check and see if it (or one of his
> neighbors/sibblings) had a current version of a file. If not, it would
> check either the file type or file size (or both) of the file. Let's say
> bot .exe/.zip/.arj/.. files and files larger then 50k would then be
> requested from proxy B, while all other files would be requested from
> proxy A.

You could use cache_host_acl to select which neighbors to use based on
ACLs that you create. However, there is currently no way to select
based on file size since the URL does not have any size information in it.
What you could do, however, is to issue a HEAD request and hope that
they have a Content-Length. I think this would be tricky, and would
slow down the neighbor selection.


miguel a.l. paraz  <>                              +63-2-893-0850
iphil communications, makati city, philippines          <> 
Received on Sat Apr 19 1997 - 00:55:14 MDT

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