Re: [squid-users] dynamic caching

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 05 May 2014 23:31:33 +1200

On 5/05/2014 6:07 p.m., Mario Almeida wrote:
> Hi All,
>
> OS: Centos 6.5 64bit
> Squid: 3.4.4
>
> How to setup dynamic caching of youtube, facebook etc..
>

Caching of dynamic content is enabled by default in all squid-3.1 and later.

If you have a squid.conf configured using settings imported from older
versions or from documented written for older versions please start with
a review of your use of "cache " directive and remove the QUERY ACL.
Then ensure you have the new default cgi-bin refresh_pattern:
<http://wiki.squid-cache.org/SquidFaq/ConfiguringSquid#Do_you_have_a_squid.conf_example.3F>

In regards to the particular examples you ask about; both of those sites
content is cacheable and are already cached by Squid.

* facebook the only problem is the HTTPS encryption. Removing that
encryption and/or forcing caching is a direct violation of the end users
privacy rights and often illegal, YHBW.
 <http://wiki.squid-cache.org/Features/SslBump>

* youtube the content distribution by design and with active enforcement
from the publisher/copyright holder uses methodology preventing optimal
cache usage. The Store-ID feature can be used to de-duplicate a certain
amount of content duplication caused as a result of that design. But
only up to a point.
 <http://wiki.squid-cache.org/Features/StoreID>

HTH
Amos
Received on Mon May 05 2014 - 11:31:47 MDT

This archive was generated by hypermail 2.2.0 : Mon May 05 2014 - 12:00:06 MDT