Re: Splitting requests ...

From: Miguel A.L. Paraz <map@dont-contact.us>
Date: Sat, 19 Apr 1997 21:14:34 +0800 (HKT)

Hi,

Garry Glendown wrote:
> For a first step, selecting the cache parent by file extension might be
> a start ... could someone accustomed to the Squid source point me to a
> good place (i.e. subroutine) I could hook such an extension to ? I've
> browsed some of the source files, and found two places that might work
> out, but I'm not too sure about that .. :-)

There is no need to write additional code for that. Just add to your
squid.conf:

acl bigfiles url_regex \.zip$ \.exe$ \.mov$

cache_host_acl cache.bigstuff.com bigfiles

Cheers,

-- 
miguel a.l. paraz  <map@iphil.net>                              +63-2-893-0850
iphil communications, makati city, philippines          <http://www.iphil.net> 
Received on Sat Apr 19 1997 - 06:23:37 MDT

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