[dokuwiki] Re: adding bz2 support?

  • From: Marcel Senf <marcel.senf@xxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Fri, 25 Aug 2006 14:26:55 +0200

Terence J. Grant schrieb:
>> Marcel used another config option to decide how new files should be
>> compressed. My suggestion would be to use bzip2 always when available
>> and $conf['compress'] is enabled and else fall back to gzip.
>>
>> I'd love to get your input on this matter, because I don't really care.
> 
> 0 - none
> 1 - gzip
> 2 - bzip2
> 

i implemented it like this:

$conf['compression'] = 'gz';   //compress old revisions: (0: off) ('gz': 
gnuzip) ('bz2': bzip)

i think gzip as default is a good solution because its faster, but the user 
should be free
to choose. switching compression type is supported.


greetings,

marcel
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: