Added support for setting the max size of a single cached entry

Description:

Added support for setting the max size of a single cached entry and changed
the handling of the cache size slightly. This avoids that a single cached
entry can take up the whole cache space. Also, the amount of space reserved
for folders and metadata is set as a percentage of the total size.

Files Affected:

	http://www.w3.org/Library/src/HTCache.c
	http://www.w3.org/Library/src/HTCache.html

Diffs:

http://dev.w3.org/cgi-bin/cvsweb/libwww/Library/src/HTCache.c?r1=2.55&r2=2.56
http://dev.w3.org/cgi-bin/cvsweb/libwww/Library/src/HTCache.html?r1=2.18&r2=
2.19

How to get it:

   http://www.w3.org/Library/cvs.html#update

How to recompile:

   http://www.w3.org/Library/cvs.html#Easy

This is probably the last patch that I will make for some time. If you
would like to have new features then please hack them up and send them to
the list.

Henrik

--
Henrik Frystyk Nielsen,
World Wide Web Consortium
http://www.w3.org/People/Frystyk

Received on Thursday, 19 November 1998 16:12:02 UTC