Miernik <[EMAIL PROTECTED]> writes:

> I am using wwwoffle version 2.7f from Debian. I think it is compiled 
> with zlib because it depends on zlib1g in Debian.
> 
> I wa trying to get all my pages in cache compressed, so I have put
> 
> compress-age = -1 
> 
> in my Purge section, and run wwwoffle -purge. But it didn't compress 
> anything.

Setting the option to this value means that the files in the cache
will never be compressed (setting age = -1 means that they are never
deleted).

> I have also tried putting compress-age = 1d, but it didn't 
> work too. 

That should have worked, any cached files that are older than 1 day
should be compressed.  Do you have use-mtime = yes or no?  If you have
it set to 'no' then it will use the access time of the file to decide
if to purge/compress it.  This means that if you accessed the file in
the last day then it will not be compressed yet.

> /usr/share/doc/wwwoffle/README.compress.gz
> /usr/share/doc/wwwoffle/README.CONF.gz
> http://search.gmane.org/search.php?group=gmane.network.wwwoffle.user&sort=revelance&query=compress
> 
> In the manpage, and comments in wwwoffle.conf: The text "The age that 
> is specified has the same meaning as for the age option." is very 
> unclear to me. In fact it doesn't say anything. 

It is supposed to mean that the 'compress=...' option and the
'age=...' option have the same type of value, an age in days and that
the same special value (-1) means the same thing.

-- 
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop                             [EMAIL PROTECTED]
                                      http://www.gedanken.demon.co.uk/

WWWOFFLE users page:
        http://www.gedanken.demon.co.uk/wwwoffle/version-2.7/user.html

Reply via email to