[squid-users] delay_access for MIME-TYPE, possible?

From: MarkD <mark.darwin.emails_at_gmail.com>
Date: Fri, 23 Mar 2012 02:33:07 -0700 (PDT)

All,

I note from reading this post here that delay_access for mime-type acl's
wasn't part of the main build and was only included in squid-2.HEAD

Could someone let me know either how I check to see if this has now been
added to the "standard" downloads of squid i.e. apt-get install squid(3)
from 11.10 or if not, perhaps give me a link to the latest build where it
has been included please?

I'm trying (without much success) to slow down only streaming traffic such
as bbc, youtube etc. in preparation for the 2012 Olympics without making the
entire site slow.

Where's what I've been trying:

####
acl streaming rep_mime_type -i ^video/xflv$

delay_pools 1
delay_class 1 1
delay_access 1 allow streaming
delay_parameters 1 10000/10000

http_access allow localnet
####
This seems to have no effect at all. When using either squid2.7 or squid3.
I'm confident that the mimetype is correct because if I use
http_reply_access deny streaming and http_access deny streaming then the
site loads at full speed but the videos are blocked.

I don't want to block everything outright, just throttle streamed
video/audio to save the network. Please could someone spare a few minutes
to point me in the right direction as I've been looking now for a few weeks
and not getting far.

Regards,
Mark

--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/delay-access-for-MIME-TYPE-possible-tp4498264p4498264.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Fri Mar 23 2012 - 09:33:13 MDT

This archive was generated by hypermail 2.2.0 : Fri Mar 23 2012 - 12:00:04 MDT