Questions answered by this recipe
How can I compress PmWiki's html output?
Just unzip the htmlcompress zip file and place the script inside the cookbook folder. Edit your config.php file to include_once the recipe, like this:
or, if you are using a farm:
HtmlCompress does the basic compression so you can use Apache's mod_deflate to serve pages with even more compression.
See Coding horror for an explanation on why to prefer mod_deflate instead of mod_gzip.
Change log / Release notes
htmlcompress-20110417Δ - Removed the cache feature and a new implementation is planned for the future. HtmlCompress will do only compression of html for now. Also removed the action=htmlcompress and compression will be provided only on browsing activity.
htmlcompress-20110416Δ - first release.