=== WP-HTML-Compression === Author: Steven Vachon URL: http://www.svachon.com/ Contact: prometh@gmail.com Contributors: prometh, mandar-marathe Tags: comment, comments, compress, compression, html, minify, space, template Requires at least: 3.2 Tested up to: 3.2 Stable tag: trunk Reduce file size by safely removing all standard comments and unnecessary white space from an HTML document. == Description == Combining HTML compression with cache and HTTP compression will cut down your bandwidth. With this plugin, you can compress your HTML by removing standard comments, new lines, carriage returns, tabs and excess spaces. More importantly, all this can be done without worrying about <pre>, <textarea> and <script> tags causing issues. Development of this plugin started with the intent of updating **[WP-Compress-HTML](http://wordpress.org/extend/plugins/wp-compress-html/)**. Although it was soon realized that to achieve what was required, the whole thing needed to be rewritten. Backwards compatibility with WP-Compress-HTML's compression override was also broken. I included the WP-Compress-HTML developer as a co-author for this plugin because I used a couple of his ideas. == Installation == 1. Download the plugin (zip file). 2. Upload and activate the plugin through the "Plugins" menu in the WordPress admin. == Frequently Asked Questions == = Will this plugin slow my page loading times? = Yes, slightly. Use **[WP Super Cache](http://wordpress.org/extend/plugins/wp-super-cache/)**. = Will Internet Explorer conditional comments be removed? = No. :-) = How do I mark areas that should not be compressed? = While <pre>, <textarea> and <script> tags are automatically left uncompressed, you can designate any code to be exempted from compression. Simply drop your content between a pair of <!--wp-html-compression no compression--> comment tags. A picture is worth a thousand words— check the **[screenshots](http://wordpress.org/extend/plugins/wp-html-compression/screenshots/)**. = I'd like to compress the contents of <script> tags. Can I do this? = Until a settings page is created, you'll have to edit the file from the "Plugins" menu in the WordPress admin. Look for the $compress_js variable and set it to true. = Will this work for WordPress version x.x.x? = This plugin has only been tested with versions of WordPress as early as 3.2. For anything older, you'll have to see for yourself. == Screenshots == 1. This is what the XHTML looks like after being compressed with WP-HTML-Compression. 2. This is what the same XHTML from the above screenshot looked like prior to compression. 3. This is an example of how to use the compression override. == Changelog == = 0.2 = * Fixed compression override = 0.1 = * Initial release