Re: [squid-users] Youtube cache ?

From: Amos Jeffries <[email protected]>
Date: Wed, 04 Jul 2007 00:05:47 +1200

leongmzlist wrote:
> by default, squid doesn't cache anything url that contains the "?" and
> "cgi-bin"
>
> put the following
>
> acl youtube dstdomain .youtube.com
> cache allow youtube
>
> BEFORE the following (they are already defined in squid.conf)
>
> hierarchy_stoplist cgi-bin ?
> acl QUERY urlpath_regex cgi-bin \?
> cache deny QUERY
>

Excellent hack! Thank you for that. I have added it to the wiki config
FAQ as the reference for all these YouTube questions.

http://wiki.squid-cache.org/ConfigExamples/DynamicContent

Amos
Received on Tue Jul 03 2007 - 06:05:54 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Aug 01 2007 - 12:00:03 MDT