[squid-users] dynamic caching

2014-05-04 Thread Mario Almeida
Hi All,

OS: Centos 6.5 64bit
Squid: 3.4.4

How to setup dynamic caching of youtube, facebook etc..


[squid-users] Dynamic caching

2007-06-17 Thread Monah Baki

Hi all,

Where can I get information about dynamic caching in squid and how to
enable it, and after a certain period of time go see if the content
has changed and cache the new content.

Thank you


BSD Networking, Microsoft Notworking





Re: [squid-users] dynamic caching

2014-05-05 Thread Amos Jeffries
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:



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.
 

* 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.
 


HTH
Amos



Re: [squid-users] Dynamic caching

2007-06-17 Thread Henrik Nordstrom
sön 2007-06-17 klockan 09:30 -0400 skrev Monah Baki:

> Where can I get information about dynamic caching in squid and how to
> enable it

Squid by default caches any cachable content.

> and after a certain period of time go see if the content
> has changed and cache the new content.

Squid automatically goes out and checks freshness when seeing a request
for a stale cached object.


You can tune the details via the refresh_pattern directive.


To learn more about HTTP caching see the

Cacheability check engine
http://www.mnot.net/cacheability/

and

Caching Tutorial for Web Authors and Webmasters
http://www.mnot.net/cache_docs/

Regards
Henrik


signature.asc
Description: Detta är en digitalt signerad	meddelandedel


Re: [squid-users] Dynamic caching

2007-06-17 Thread Snow Wolf

Squid doesn't know what's dynamic or static content.It's descided by
you.By default,Squid think 'cgi-bin' and '?' in urlpath are dynamic,so
it wouldn't cache them,known by these 2 lines:

acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY

Given the case you have .php or .jsp pages,but you didn't specify them
in above config directives,then Squid think those pages are also
static.How long would they be cached?It's descided by default
refresh_pattern(that line of ".") (if you didn't specify them
distinctly).


2007/6/17, Monah Baki <[EMAIL PROTECTED]>:

Hi all,

Where can I get information about dynamic caching in squid and how to
enable it, and after a certain period of time go see if the content
has changed and cache the new content.

Thank you


BSD Networking, Microsoft Notworking