WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP-Compress-HTML

Reduces the HTML file size by removing unnecessary white space from the HTML document created by the WordPress blog.

Coders like to use spaces, carriage returns, new lines, tabs and indentation to make their HTML documents human-readable. This helps collaboration and debugging of the HTML document. However, all these features add to the filesize of the resultant HTML document. This structural information is totally ignored by browsers.

This plugin removes spaces, carriage returns, new lines and tabs from your HTML document. You can therefore freely use these features while writing HTML, safe in the knowledge that it will not bloat the final HTML document.

With this plugin you can also mark areas of your HTML template where you want to preserve white space - for example - in areas containing Javascript which needs carriage returns and new lines to function correctly.

HTML comments are not affected by this plugin.

Requires: 2.5 or higher
Compatible up to: 3.3.2
Last Updated: 2012-1-22
Downloads: 6,266

Ratings

3 stars
3.6 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,2,2
100,1,1
0,1,0
100,1,1
100,1,1
100,1,1
100,1,1