Re: [squid-users] Fw: delay pools and cache

From: Duane Wessels <wessels@dont-contact.us>
Date: Sun, 14 Dec 2003 17:53:35 -0700 (MST)

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 - 17:53:35 MST

This archive was generated by hypermail pre-2.1.9 : Thu Jan 01 2004 - 12:00:11 MST