Re: !Cache management
cj wrote on 16 Nov: > Is anyone else finding that the new Cache feature does not seem to > expire its content? Well, that was a revelation. Did a count on !Boot.resources.!cache.caches.default.netsurf and find 222 megabytes of stuff. Earliest date seems to be Sept 06. A typical item within this folder is filetyped as text but contains gobbledygook. What is supposed to control expiry? Can't find anything about expiry within the !Cache application itself. Ah, Netsurf choices--cache. Disc cache size is set at 1024M (which I presume is meant as a max), and expiry at 28 days. Those figures seem to be defaults, because I have never altered them. Don't recall any discussion or explanation when Netsurf adopted !Cache -- when was that? Maybe it happened while I was away and I missed it. !Cache, according to its helpfile, was written by Adam Richardson ("Snowstone") in 2007. The current version 1.13 on his website has a runfile dated 2007-june-14. The runfile of my active copy in Boot Resources (which presumably came with a recent-ish version of Netsurf inside its usual boot-update file) is dated 2014-09-16, but !Sidediff shows it is identical to the 2007 runfile. -- Jim Nagelwww.archivemag.co.uk
Re: !Cache management
On Mon, Nov 24, 2014 at 01:15:26PM +, Jim Nagel wrote: > A typical item within this folder is filetyped as text but contains > gobbledygook. "Text" is the default file type for files created using UnixLib. Given these files are not meant to be consumed by humans, I don't see a problem there. (The actual gobbledydook is the cached data and headers.) > What is supposed to control expiry? Can't find anything about expiry > within the !Cache application itself. !Cache is not NetSurf-specific. The control settings are in each application that uses it. >Ah, Netsurf choices--cache. Disc cache size is set at 1024M (which > I presume is meant as a max), and expiry at 28 days. Those figures > seem to be defaults, because I have never altered them. > > Don't recall any discussion or explanation when Netsurf adopted !Cache > -- when was that? Maybe it happened while I was away and I missed it. It happened when Vince implemented disc caching :) This was some time ago, perhaps even before our last stable release. If that's the case, the last release announcement would have included a mention. If it isn't, then it'll be mentioned via version control for our test builds. > !Cache, according to its helpfile, was written by Adam Richardson > ("Snowstone") in 2007. The current version 1.13 on his website has a > runfile dated 2007-june-14. The runfile of my active copy in Boot > Resources (which presumably came with a recent-ish version of Netsurf > inside its usual boot-update file) is dated 2014-09-16, but !Sidediff > shows it is identical to the 2007 runfile. Time stamps on files are advisory, not gospel. :) The 2014-09-16 is probably when you merged your first build of NetSurf that included it. B.
Re: !Cache management
In article <18f1976b54@abbeypress.net>, Jim Nagel wrote: > The runfile of my active copy in Boot Resources (which presumably > came with a recent-ish version of Netsurf inside its usual > boot-update file) is dated 2014-09-16, but !Sidediff shows it is > identical to the 2007 runfile. This is a fact of life with several apps/systems that do auto updates each day and rebuild the download files, whatever, in that datestamps of files are updated whether they have changed or not. The ROOL hard drive image is a particular case, where it is impossible to check what, if anything has changed. -- Chris Johnson
Re: !Cache management
In article <18f1976b54@abbeypress.net>, Jim Nagel wrote: > cj wrote on 16 Nov: > > Is anyone else finding that the new Cache feature does not seem to > > expire its content? > Well, that was a revelation. Did a count on > !Boot.resources.!cache.caches.default.netsurf and find 222 megabytes > of stuff. Earliest date seems to be Sept 06. I wondered about this having read your post. I don't have !Cache and its sub-directories but I do have !Boot.Resources.!Scrap.ScrapDirs.IDdisabled.WWW.NetSurf.Cache. In there I found I had 45 megabytes of said stuff - earliest from 2006, latest from May this year. >Ah, Netsurf choices--cache. Disc cache size is set at 1024M (which > I presume is meant as a max), In my case it's set at 2MB but there's no option to set the expiry. I'm using NS 3.1, 25 April 2014. I see that NS 3.2 is available on the website and the changelog mentions support for disc caching. I'll give it a go but wonder what the disk cache setting was doing in NS 3.1 if it was just storing stuff without deleting it and why the last cached item was in May this year! Alan [Snip] -- Alan Calder, Milton Keynes, UK.