Re: [squid-users] Re: Youtube Changes

From: Amos Jeffries <>
Date: Wed, 24 Apr 2013 00:14:57 +1200

On 23/04/2013 6:15 a.m., babajaga wrote:
> YES: Very important:
> READ IT ! :-)

How about updating the Squid wiki pages with this recent information?
reading four pages of dense regex patterns with the odd word or two of
documentation in the middle is not an great way to spend the evening. is a
collaborative effort between the people interested fixing YT
cacheability problems.

Please also correct those squid.conf settings which are documented. The
regex patterns added to squid.conf do not need .* or .*$ on the ends.

         # acl yutub url_regex -i .*youtube\.com\/.*$
         # acl yutub url_regex -i .*youtu\.be\/.*$

   acl yutub url_regex -i youtu(be\.com|\.be)\/

or maybe even:
   acl yutub dstdomain

         # acl redirec urlpath_regex -i
         # acl redirec urlpath_regex -i .*&ir=1&rr=12

   acl redirec urlpath_regex -i &redirect_counter=1&cms_redirect=yes

         # acl reddeny url_regex -i
         # acl reddeny url_regex -i

   acl reddeny url_regex -i

Received on Tue Apr 23 2013 - 12:15:05 MDT

This archive was generated by hypermail 2.2.0 : Tue Apr 23 2013 - 12:00:05 MDT