RE: [squid-users] Im confused

2004-12-03 Thread Elsen Marc
 
 
   Basically a cached object is:
 #
 #   FRESH if expires  now, else STALE
 #   STALE if age  max
 #   FRESH if lm-factor  percent, else STALE
 #   FRESH if age  min
 #   else STALE
 #
 
 
 This a sort of algorithm I read in the squid.conf file of 
 Squid 2.5 Stable7.
 What I don't get is the first line states that an object is 
 fresh if the
 expiry time is less than the current time. As I see it if the 
 expiry time
 has passed and the current time is larger than that how come 
 ab object can
 be fresh or else stale.
 
 
 
 I thought expiry time is an absolute value. There is no 'relative
context' w.r.t current time. So either it passed or not, and the
algorythm is correct.

M.


[squid-users] Im confused

2004-12-02 Thread Ali Abbas

  Basically a cached object is:
#
#   FRESH if expires  now, else STALE
#   STALE if age  max
#   FRESH if lm-factor  percent, else STALE
#   FRESH if age  min
#   else STALE
#


This a sort of algorithm I read in the squid.conf file of Squid 2.5 Stable7.
What I don't get is the first line states that an object is fresh if the
expiry time is less than the current time. As I see it if the expiry time
has passed and the current time is larger than that how come ab object can
be fresh or else stale.




Mohammed Ali Abbas
Asst. CMTS Engineer