summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorBen Coburn <btcoburn@silicodon.net>2006-05-16 10:41:32 +0200
committerBen Coburn <btcoburn@silicodon.net>2006-05-16 10:41:32 +0200
commit524be65dda410b9a3ced3fa06e672b4fd2cda5e4 (patch)
tree928fe3dfe442a2847d5fefcb7d62bb09ac7b17af /conf
parent2b03e74de514af15d4004e7635625fa64816231a (diff)
downloadrpg-524be65dda410b9a3ced3fa06e672b4fd2cda5e4.tar.gz
rpg-524be65dda410b9a3ced3fa06e672b4fd2cda5e4.tar.bz2
gzip content-encoding option
- Enables gzip compression of output xhtml for browsers that support it. For example the wiki:syntax page takes up 46.80KB raw, but only 9.88KB gzip encoded. - Setting is configurable through the config plugin. darcs-hash:20060516084132-05dcb-d8d1c7911a951b00e166c5a94f46a2cf1cfa5846.gz
Diffstat (limited to 'conf')
-rw-r--r--conf/dokuwiki.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/dokuwiki.php b/conf/dokuwiki.php
index d1fc851fd..f95eb56fe 100644
--- a/conf/dokuwiki.php
+++ b/conf/dokuwiki.php
@@ -76,6 +76,7 @@ $conf['purgeonadd'] = 1; //purge cache when a new file is added
$conf['locktime'] = 15*60; //maximum age for lockfiles (defaults to 15 minutes)
$conf['notify'] = ''; //send change info to this email (leave blank for nobody)
$conf['mailfrom'] = ''; //use this email when sending mails
+$conf['gzip_output'] = 1; //use gzip content encodeing for the output xhtml (if allowed by browser)
$conf['gdlib'] = 2; //the GDlib version (0, 1 or 2) 2 tries to autodetect
$conf['im_convert'] = ''; //path to ImageMagicks convert (will be used instead of GD)
$conf['jpg_quality'] = '70'; //quality of compression when scaling jpg images (0-100)