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" <[EMAIL PROTECTED]>
To: "Gustavo Alvarez (Tecoar)" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
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.
>
>

Reply via email to