ok, but if samplefile1.mp3 has already been downloaded by user1 and keeped
in the cache, and user2 requests samplefile1.mp3 , it will download at 256k,
and not at 100Mbps.
----- Original Message -----
From: "Duane Wessels" <wessels@squid-cache.org>
To: "Gustavo Alvarez (Tecoar)" <gustavo.alvarez@tecoar.com.ar>
Cc: <squid-users@squid-cache.org>
Sent: Sunday, December 14, 2003 9:53 PM
Subject: Re: [squid-users] Fw: delay pools and cache
>
>
>
> On Sun, 14 Dec 2003, Gustavo Alvarez (Tecoar) wrote:
>
> > i want to know if it is possible to limit a user to download .mp3 files
> > from the internet at 256Kbps, but if the .mp3 file is already in the
cache
> > allow him full bandwidth (10/100Mbit)
>
> yes, use delay pools with an access list that matches .mp3. Something
like:
>
> delay_pools 1
> delay_class 1 3
> delay_parameters 1 -1/-1 -1/-1 32000/128000
>
> acl mp3 url_regex \.mp3$
> delay_access 1 allow mp3
>
> Duane W.
>
>
Received on Sun Dec 14 2003 - 18:04:22 MST
This archive was generated by hypermail pre-2.1.9 : Thu Jan 01 2004 - 12:00:11 MST