Re: [squid-users] Don't cache Youtube or flash video

From: Amos Jeffries <squid3@dont-contact.us>
Date: Wed, 09 May 2007 23:46:05 +1200

Gilbert Ng wrote:
> I got a problem on watching youtube or those flash video in our LAN.
> If I disable our squid, it is smooth but when we start it, I need much
> more time to download
> the video.
>
> I have try to use no_cache but no use at all:
>
> acl QUERY urlpath_regex cgi-bin \?
> acl NOCACHE dstdomain .youtube.com$

Never seen $ is a domain name before, maybe it will work better without it.

> acl SWF url_regex .swf$
> no_cache deny SWF
> no_cache deny QUERY
> no_cache deny NOCACHE
>
> I have also try the following and also no use.
> acl NO_CACHE url_regex -i "/etc/squid/nocache.url"
> acl NO_CACHE url_regex ^http://www.youtube.com$
> no cache deny NO_CACHE
>
> We are using the transparent proxy setting. I have try to googling
> and find in this mailling list and still can't resolve it.

squid 2.6 I hope. The earlier ones had transparency problems.

Amos
Received on Wed May 09 2007 - 05:46:10 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Jun 01 2007 - 12:00:04 MDT