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