Tony Moore <old_coaster(a)yahoo.co.uk> wrote:
On 31 Dec 2005 Richard Wilson wrote:
> Brian Howlett <brian.groups(a)brianhowlett.me.uk> wrote:
> > According to http://netsurf.sourceforge.net/progress
"Disc Cache -
> > Not started".
> > Presumably this is no longer the case - I've got WWW.Netsurf.Cache
> > in !Scrap which consists of 3,137 files, totalling 88,731,380 bytes
> > - not in itself a problem as I have plenty of HDD space, but does it
> > expire, or will there eventually become a need to delete files
> > manually?
> This information is not currently used as a disc cache as such, but
> given time it will. Basically, this information is currently used for:
> 1) Virtual memory when NetSurf thinks it's using too much memory
> 2) Saving thumbnail information across sessions.
> The information here is never deleted as such, and the files are
> simply re-used to avoid the overhead of deleting them. There will be
> an interface for maintaining all this information soon (the
> configuration system is currently being rewritten.)
Test Build (22 Jan 2006 17:30):
Having set the disc cache duration to 14 days (via the Choices file) and
then clicked 'Perform maintenance' in 'NetSurf configuration ->
the size of the cache has been greatly reduced, and the loading time for
NetSurf reduced from 15 to 5 seconds (SARPC), which is excellent. Global
history now correctly shows visits in the last two weeks, only.
Clicking on 'Perform maintenance' will simply empty the !Scrap file of all
the /unused/ references. It will never delete any data that NetSurf still
cares about and just frees up some space on your drive (NetSurf would
otherwise simply overwrite this data when it needed space later on.)
Performing this action will also have no effect on the start-up time.
The main reason you've got such a noticible speed up is (at a guess) that
you upgraded to the newer builds between 4 and 2 weeks ago, so all your
transferred data was still present and taking up time on loading. Now you've
expired it (as will also naturally happen to anyone who hasn't changed their
settings, albeit in 28 days time.)
However, for items which were added to the _Hotlist_ prior to the
expiry date, all details of visits and thumbnails have now been lost.
Will this problem be addressed in future versions?
Thumbnails which are older than the expiry date will currently get flushed.
Given enough time, I'd like to only flush thumbnails that have no references
left (ie hotlist entry is sufficient rather than a hotlist entry visited
within the last <n> days.) This is currently very low priority for me