|
Cookbook /
HtmlCompressSummary: Compresses PmWiki's html output.
Version: 20110417
Prerequisites: pmwiki 2.2
Status: mantained
Maintainer: CarlosAB
Categories: Compression, HighPerformance.
Download: htmlcompress-20110417.zipΔ
Discussion: HtmlCompress-Talk?
After some more tests I have discovered problems in the cache mecanism, so please, look for other cache recipes like FastCache for now. HtmlCompress now provides ONLY compression of html output (plus in page javascript and css) from version 20110417 and forward. Questions answered by this recipeHow can I compress PmWiki's html output? DescriptionHtmlCompress compresses PmWiki's html output, and can be used in conjunction with JsCompress and CssCompress for higher compression. InstallationJust 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: include_once('cookbook/htmlcompress.php');
or, if you are using a farm: include_once(" $FarmD/cookbook/htmlcompress.php");
ConfigurationHtmlCompress 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. UsageNotesThe recipe expects well formed html, css and javascript in every page and will not fix errors. Change log / Release noteshtmlcompress-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. See alsoContributorsCommentsSee discussion at HtmlCompress-Talk? User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki. |