Plugin info

Total downloads: 12,912
Active installs: 30
Total reviews: 1
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 1/22/2012 (5092 days ago)
Added to WordPress: 5/16/2008 (17 years old)
Minimum WordPress version: 2.5
Tested up to WordPress version: 3.3.2
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 5092 days ago • 1 reviews

22/100

Is WP-Compress-HTML abandoned?

Possibly abandoned (last update 5092 days ago).

Compatibility

Requires WordPress: 2.5
Tested up to: 3.3.2
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Disk Space Usage
Rating 2.6/5 (5 reviews)Active installs 300
Search Fixer
Rating 0.0/5 (0 reviews)Active installs 200
Virastar
Rating 0.0/5 (0 reviews)Active installs 70
Extra Sentence Space
Rating 3.0/5 (2 reviews)Active installs 60
Dashboard: Available Disk Space
Rating 5.0/5 (1 reviews)Active installs 30
NASA Image Of The Day
Rating 0.0/5 (0 reviews)Active installs 20

Description

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.

Installation

  1. Download the plugin.
  2. Extract the wp_compress_html.php file and upload to the ‘/wp-content/plugins/’ directory.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.
  4. If there are areas which you do NOT want compression to be applied, simply enclose each area with a pair of <!–wp-compress-html–> tags. Drop in a <!–wp-compress-html no compression–> tag within each area marked in this way to tell the plugin that area is not to be compressed. Don’t worry – these configuration tags will be stripped out by the plugin.

Frequently Asked Questions

Why do I need this plugin?

When you are coding your HTML template, you will almost certainly want to add spaces, tabs and carriage returns to the document. This helps you to read it, but this information is ignored by the browser and transmitting it to the browser is a waste of bandwidth. It bloats your files and slows your site down. This plugin will remove all this unnecessary “white space”.

How do I mark areas that should not be compressed?

Look at the screenshot at http://www.mandar-marathe.com/img/wp-compress-html-screenshot2.gif to see how to mark areas in your template that should not be compressed.

Does it work for WordPress version x.x.x?

The plugin has been tested upto WordPress version 3.3.1.

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

No changelog available