There was much discussion about a year ago about the cache performance on
RISC OS, and there were some code changes, but I would like to add the
results of some investigations of the Netsurf v3.4 cache on my Iyonix,
running RISC OS 5.23 (11 Oct 2015).
In the past I had problems with the cache taking large amounts of disc
space, and the resulting long backup times for !Boot, so my current
settings are 10MB space, expiring after 2 days.
However, the actual space usage was 45MB (as measured by Filer Count),
and it contained 210 files. What was more difficult to find was that
there were 7,298 directories with 8 levels, which occupied another 14MB,
of which 6,412 contained no files at any lower level. So only 886
directories actually contained the 210 files of cached data. Enumeration
of the cache took about 2 minutes.
I decided to delete all 6,412 directories that contained no data, saving
about 12MB of disc space. More importantly, counting or enumerating all
the cache now takes about 7 seconds. There are still the same number of
files and cached bytes.
Netsurf itself still seems to work, but I have not noticed any change in
So, some questions:
- When are cached files deleted to meet the configured size & expiry?
- Are directories included in the space used?
- Are directories ever deleted? If so, when?
- Will deletion of empty directories cause any problems for Netsurf?
I have looked at the help ... but that says that files are not deleted by
Netsurf, and makes no mention of directories. It also refers to a
'Perform maintenance' button which can be used to delete redundant files
... but this is nowhere to be seen!
Something seems to have changed since the last time I sold an item through
eBay, a few months ago -- I've never been able to create an advert with
Netsurf, but I can at least watch the bidding.
However, I can't seem to access the Paypal transactions at all, even using
the old workaround of the 'classic' Paypal site or by using the direct
transaction link from the eBay listing. I'm just getting a blank page,
which makes it rather difficult to print off shipping labels and very
difficult to know what my current balance is!
Has something changed recently?
Harriet Bazley == Loyaulte me lie ==
Hypocrisy is underrated.
Any chance of Netsurf's CSS handling being extended a bit to support
Reason I ask is that I want to rejig my various websites (including
Archive's) so that (among other things) they will be readable on
smartphone screens as well as desktop screens.
I gather that the "media query" in CSS would make it possible to have
a single design to which the end-browser will respond accordingly --
this would be much more elegant than having separate code for each
My son Bart (now a pro web developer in Vancouver, but brought up on
RiscOS so knows the scene) is helping on this. We're not aiming to do
anything elaborate, but elegance yes please.
There's probably a narticle for Archive magazine in all this!
Jim Nagel www.archivemag.co.uk
The latest Netsurf 3.6 (Dev CI #3739) appears to be ignoring css. Does
anyone else find this?
http://www.Torrens.org.uk for genealogy, natural history, wild food, walks, cats
I had a repeatable crash when opening www.amazon.co.uk with
Atari build 3699. I replaced it with Atari build 3722 but it
does the same.
I can raise a bug but it would be useful to know if others have the