plugin-icon

WP-Compress-HTML

作者:mandar-marathe·
Reduces the HTML file size by removing unnecessary white space from the HTML document created by the WordPress blog.
评级
5/5
版本
1.0
活跃安装
30
最后更新
Jan 22, 2012

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.

免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 3.3.2
这个插件是可用的下载,适用于您的站点。