Re: How to optimize cacheing

From: John Saunders <>
Date: 25 Jan 1997 11:50:30 GMT

I'm trying to come to terms with the FRESH/STALE approach of squid 1.1.x.
I have a few questions.

A last modified factor of 100% would means that if the object was say 2
days old when it was first fetched into the cache, it would become stale
after being in the cache for 2 days. A 50% factor would mean it would
become stale after 1 day. Is this correct logic?

Having a minimum and maximum age seems pointless as when the object is
in-between these to ages the algorithm thinks the object is stale. Why
have a max age when the object is already stale if it's older than the
min age? I don't seem to be able to understand the subtlety of the
AGE > MAX_AGE check before the LM_FACTOR check. Can anybody clarify
why this check is done and not just left to fall through to the end?

-- +------------------------------------------------------------+
        . | John Saunders - (EMail) |
    ,--_|\ | - (WWW) |
   / Oz \ | - 018-223-814 or 02-9477-2881 (Phone) |
   \_,--\_/ | NHJ NORTHLINK COMMUNICATIONS - Supplying a professional, |
         v | and above all friendly, internet connection service. |
Received on Sat Jan 25 1997 - 03:56:31 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:34:10 MST