Date: Fri, 2 Dec 1994 14:53:39 +0100
Message-Id: <9412011843.AA22912@neon.mcom.com>
From: luotonen@neon.mcom.com (Ari Luotonen)
To: Multiple recipients of list <www-proxy@www0.cern.ch>
Subject: Re: What are the rules for caching?
> Can anyone suggest why this is happening, and/or a fix for it.
The proxy caches a doc when all of the following hold:
* method is GET
* request is not a query (no '?' in the URL)
* not protected (no "Authorization" header)
* the received number of bytes matches the "Content-length" header
* response contains a "Last-modified" and/or "Expires" header
(dynamic script responses don't => shouldn't be cached)
> Cache increase since midnight last night: 32,545 kB
>
> That leaves 46 MB retrieved but not cached :-)
It may also be that the garbage collector has removed some stuff
already (make sure you have "KeepExpired On"). Also make sure that
your CacheSize is large enough (say 20% larger than what you expect it
to be).
Cheers,
-- Ari Luotonen Netscape Communications Corp. 650 Castro Street, Suite 500 Mountain View, CA 94041, USA