Search squid archive

Re: dynamic caching

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux