Felix Karpfen <[EMAIL PROTECTED]> writes:

> As part of my housekeeping routine, I dutifully run "wwwoffle -purge" 
> once every week with the untouched default purge configuration in my 
> "wwwoffle.conf" file (i.e.):
> 
> ,----[ purge.txt ]-
> |  use-mtime     = no
> | 
> |  max-size      = -1
> |  min-free      = -1
> | 
> |  use-url       = no
> | 
> |  del-dontget   = yes
> |  del-dontcache = yes
> | 
> |  age           = 4w
> | 
> |  compress-age  = -1
> `----
> 
> I thought that it worked.  I get an impressive list of URLs flashing 
> past with information on how many Kb have been deleted and how much 
> room remains on the drive.
> 
> However, I have just looked at the content of /var/spool/wwwoffle/http/ 
> and find that it has grown (over the past year) to 264 Mb.  
> 
> It seems that the default setting of "use-mtime" may be to blame.

> So, finally, my questions:
> 
> - What was the rationale for basing the default purge configuration on 
>   access time rather than modification time? and 

Using the access time will mean that URLs that are used often but
rarely change would be downloaded more often.  For example the images
on web pages that you visit a lot.  If you view them every day when
offline then you don't want to purge them, using the access time makes
sense for these.  Also any reference pages that you keep going back
to, you might want a newer version occasionally, but you don't want to
purge it if you looked at it yesterday.

> - What am I likely to destroy by the setting "use-mtime=yes"?

If you purge using the modification time then your cache will be
smaller.  This will mean that there are URLs that you want to see that
you will need to fetch again even though they have not changed and you
use them often.  A bigger cache will always mean fewer downloads, all
other options staying the same.

-- 
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

Reply via email to