W3C home > Mailing lists > Public > www-lib@w3.org > October to December 1998

Re: Cache question?

From: Henrik Frystyk Nielsen <frystyk@w3.org>
Date: Wed, 18 Nov 1998 12:49:09 -0500
Message-Id: <3.0.5.32.19981118124909.044f39f0@localhost>
To: olga@goliath.eai.com, www-lib@w3.org
At 13:24 11/17/98 -0600, olga wrote:

>What if the cache is initialized but the single file which is loaded has
bigger
>size? Does the cache size grow to accomodate the file or the file is
truncated
>or it is not put in cache? 

Hi Olga,

It actually seems to first write the response into the cache and then do a
gc when done. This doesn't seem to be a smart way of doing things. It
should have a check when the cache stream is created to see if the size
immediately exceeds some size (which may actually be less than the total
cache size).

Henrik
--
Henrik Frystyk Nielsen,
World Wide Web Consortium
http://www.w3.org/People/Frystyk
Received on Wednesday, 18 November 1998 12:49:14 EST

This archive was generated by hypermail pre-2.1.9 : Wednesday, 3 September 2003 17:59:21 EDT