W3C home > Mailing lists > Public > ietf-http-wg-old@w3.org > January to April 1997

Re: Issues-list item "CACHING-CGI"

From: Andrew Daviel <andrew@andrew.triumf.ca>
Date: Thu, 17 Apr 1997 16:00:46 -0700 (PDT)
To: Jeffrey Mogul <mogul@nospam.org>
Cc: http-wg@cuckoo.hpl.hp.com
Message-Id: <Pine.LNX.3.91.970417155513.27708D-100000@andrew.triumf.ca>
On Wed, 16 Apr 1997, Andrew Daviel wrote:

> Looking at Squid 1.1 (1.0 was slightly different)
> 
>     if (AGE > MAX_AGE)
>         return STALE
>     if (LM_FACTOR < PERCENT)
>         return FRESH
>     return STALE
> 
> (from Release-Notes-1.1.txt)
> 
> So, if I understand this correctly, with a stock config file:
> 
> Objects with a Last-Modified header are cached for 3 days, or when they 
> expire, or for 20% of their age when cached, whichever is shortest.
> 
***> Objects without a Last-Modified header are cached for 3 days, or 
***> until > they expire.

WRONG! My mistake. If LM_FACTOR is undefined, the algorithm returns 
STALE. Squid 1.1.2 issues a GET/If-Modified-Since every time if neither 
Last-Modified nor Expires are defined.

Andrew Daviel         mailto:advax@triumf.ca 
TRIUMF & Vancouver Webpages
Received on Thursday, 17 April 1997 16:02:46 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 06:32:35 EDT