Re: shaper by types

From: Michael Ju. Tokarev <mjt@dont-contact.us>
Date: Sun, 26 Mar 2000 00:00:58 +0300

Dmitry Melekhov wrote:
>
> Hello!
>
> How can I setup squid to do shaping for only some file
> types like .jpeg .mp3 and so on?

Can regexp acl can help here? Not a strict "file type" (many gifs generated
by http://some.dom.ain/ads/banner.dll?), but some common extensions (you mentioned
this) could be handled. Add an acl with regexp "\.(jpg|jpeg|mp3|....)" and use it
with delay_classes... -- Just some points, I didn't use this, and is not shure
that this will work (moreother, I don't know that "traffic shaping" exists in
squid :) ).

> Thanks!
>
> Dmitry Melekhov
> http://www.aspec.ru/~dm
> 2:5050/11.23@fidonet
Received on Sat Mar 25 2000 - 14:04:16 MST

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