Re: [squid-users] a miss threshold for certian times of a specified webpages

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sun, 01 Jul 2012 20:45:42 +1200

On 1/07/2012 1:04 a.m., Mustafa Raji wrote:
> hello
>
> is there an option that limits number of access to webpage before it can be consider as a cachable and caches the webpage
> example
> some option like a ( miss threshold ) = 30
> so the user requests the page for a 30 time and this requests of the objects can by consider as a miss requests, after the user request reaches this threshold (30), then squid can consider this webpage objects as a cachable objects and began to cache these objects

Uhm, why are you even considering this? What benefit can you gain by
wasting bandwidth and server CPU time?

HTTP servers send out Cache-Control details specifying whether and for
how long each object can be cached for. Replacing these controls (which
are often carefully chosen by the webmaster) with arbitrary other
algorithms like the one you suggest is where all the trouble people have
with proxies comes from.

Amos
Received on Sun Jul 01 2012 - 08:45:54 MDT

This archive was generated by hypermail 2.2.0 : Mon Jul 02 2012 - 12:00:02 MDT