跳到内容

WP-HTML-Compression

v0.5.8

Steven Vachon · 2009年8月23日 上架

Reduce file size by shortening URLs and safely removing all standard comments and unnecessary whitespace from an HTML document.

正在使用
1,000+
评分
3.4 / 5
累计下载
11 万
最近更新
2017年11月29日
14 条评价需要 WordPress 3.2+已测试到 3.5.2

贡献者

截图

This is what the XHTML looks like after being compressed with WP-HTML-Compression.
This is what the XHTML looks like after being compressed with WP-HTML-Compression.
This is what the same XHTML from the above screenshot looked like prior to compression.
This is what the same XHTML from the above screenshot looked like prior to compression.
This is an example of how to use the compression override.
This is an example of how to use the compression override.

Combining HTML “minification” with cache and HTTP compression (WP Super Cache, or similar) will cut down your bandwidth and ensure near-immediate content delivery while increasing your Google rankings.

This plugin will compress your HTML by shortening URLs and removing standard comments and whitespace; including new lines, carriage returns, tabs and excess spaces. Most importantly, by ignoring <pre>, <textarea>, <script> and Explorer® conditional comment tags, presentation will not be affected.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums