mi <[EMAIL PROTECTED]> writes:
> Apparently i have difficulties in understanding english exactly....after using
> wwwoffle for
> nearly a year now, i suddenly have some silly questions - but i simply never did ask
> them before.
> use-mtime:
> Am i right that 'access' refers to the cache (file system) rather than to the remote
> server ?
> Also 'modification' ?
The 'access' is access to the cache and the 'modification' means a
change to the cached file, either by replacing it with a new version
or updating the timestamp on it to show that the new version on the
server is the same.
> What exactly means:
>
> *) purging when a list of domains is specified and use-url = no:
> Purge the whole domain (all URLs) or still single pages only ?
It will purge individual URLs, but it will use the age specified for
the whole of the site. This is quicker because WWWOFFLE doesn't need
to know what the URL is of all of the cached pages, only the nsame of
the domain that they are in.
> *) 'deciding if to purge on domain names and protocol':
> When was the wwwoffle cache domain directory last accessed or modified ?
It is not the directory access or modification time that is important
it is the times of the individual files.
> A little bash script now melts 1000 browser bookmarks down to around 400 domains and
> insert them automatically in the
> 'purge' section of the config, with age -1. My default age is rather short (14d).
> The idea was, to achieve a cache with mainly important content and less 'noise'.
> Here's my 'purge' setting:
> use-mtime = no
> use-url = no
> del-dontget = yes
> del-dontcache = yes
> compress-age = -1
> max-size = 0
> min-free = 0
> {long list of domains with specifc age}
> age = 14
The order of the entries in the configuration file is important, but
it looks like you have got it the right way round. The first entry
that matches is the one that is used so you are correct to put the
specific ones before the default value.
Do you have the correct format for the sites that you want to keep for
a long time, for example:
Purge
{
<http://www.google.com:/*> age = 26w
age = 4w
}
If you are not using the 'use-url' option then you need to make sure
that the age that you want for the domain matches the top URL for that
domain. For example:
Purge
{
use-url = 0
<http://www.foo/bar.html> age = -1
age = 14d
}
Will purge all pages at 14 days, even the ones in the site www.foo
because the URL specified is not the top URL for that site.
--
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop [EMAIL PROTECTED]
http://www.gedanken.demon.co.uk/
WWWOFFLE users page:
http://www.gedanken.demon.co.uk/wwwoffle/version-2.8/user.html