Title: Asta HTML Minifier
Author: Lior Asta
Published: <strong>2019 年 5 月 6 日</strong>
Last modified: 2026 年 1 月 1 日

---

搜索插件

![](https://ps.w.org/asta-html-minifier/assets/banner-772x250.png?rev=2081910)

![](https://ps.w.org/asta-html-minifier/assets/icon.svg?rev=2081910)

# Asta HTML Minifier

 作者：[Lior Asta](https://profiles.wordpress.org/astavelopment/)

[下载](https://downloads.wordpress.org/plugin/asta-html-minifier.1.0.21.zip)

 * [详情](https://cn.wordpress.org/plugins/asta-html-minifier/#description)
 * [评价](https://cn.wordpress.org/plugins/asta-html-minifier/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/asta-html-minifier/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/asta-html-minifier/#developers)

 [支持](https://wordpress.org/support/plugin/asta-html-minifier/)

## 描述

This plugin helps you improve your website’s overall performance, installing the
plugin and activating it will automatic strip away all extra white space and HTML
comments in your HTML output across your entire website.
 There are no extra configuration
and settings, it’s simple fast and efficient. Serving HTML without any white space
or comments will reduce all requests to your users which will make your website 
load faster and improve you users experience.

#### Important

This plugin uses sessions and it may conflict with server based cache services such
as Nginx and Varnish.

## 屏幕截图

 * [[
 * The plugin installed and activated
 * [[
 * Minified source code

## 安装

Install the plugin and activate it, the plugin will do the rest for you.

## 常见问题

### How do I know if the plugin is working?

Right click on your website and choose the view source option.
 If you see no white
space or comments (usually marked in green) you can just relax and enjoy this amazing
boost to your website, in case you still see white space make sure the plugin is
activated.

### What makes this plugin so great compared to others?

This plugin just works! It’s simple and transparent!
 It won’t take any of your 
time for setting it up or add any more annoying menus to your admin dashboard.

### What if the plugin removed something necessary?

First make sure it’s caused by this plugin by disabling it and making sure it’s 
the direct cause, if so please report it with details and we’ll take care of it 
as soon as possible.

### Will this plugin work with other plugins?

Sure! This plugin is written with Native WordPress functions so it won’t conflict
with other plugins so you can feel free to install and activate it without any concern.

## 评价

![](https://secure.gravatar.com/avatar/c424970e26742266b56f1055251d52011d72b5d68f2ef3923eedbbf845b2c646?
s=60&d=retro&r=g)

### 󠀁[Works great.](https://wordpress.org/support/topic/works-great-9036/)󠁿

 [illicious](https://profiles.wordpress.org/illicious/) 2023 年 11 月 11 日

This html minify is up to date and is working great so far. I hope support for this
plugin may stay alive for a long time.

![](https://secure.gravatar.com/avatar/bc248f07aded6aecc5c40cd06ea1cabce5a4fc651a8fc9bc099573200d840d61?
s=60&d=retro&r=g)

### 󠀁[Works For The Most Part](https://wordpress.org/support/topic/works-for-the-most-part-4/)󠁿

 [VannDigital](https://profiles.wordpress.org/vdn-staff/) 2021 年 1 月 21 日

While it’s a good plugin so far, I noticed that it didn’t strip all comments out
of the source code…

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/asta-html-minifier/reviews/)

## 贡献者及开发者

「Asta HTML Minifier」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Lior Asta ](https://profiles.wordpress.org/astavelopment/)

[帮助将「Asta HTML Minifier」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/asta-html-minifier)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/asta-html-minifier/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/asta-html-minifier/)，或通过[RSS](https://plugins.trac.wordpress.org/log/asta-html-minifier/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/asta-html-minifier/)。

## 更新日志

#### 1.0.0

 * Initial release

#### 1.0.1

 * Testing and adding compatibility for older versions of WordPress
 * Testing and adding compatibility for older versions of PHP
 * Fixing issues in readme file

#### 1.0.2

 * Fixing bug with Gutenberg editor by disabling minify HTML in admin sections

#### 1.0.3

 * tag fix

#### 1.0.4

 * Adding support to new WordPress version 5.3

#### 1.0.5

 * Adding support to new WordPress version 5.4

#### 1.0.6

 * Adding support to new WordPress version 5.5

#### 1.0.7

 * Adding support to new WordPress version 5.6

#### 1.0.8

 * Adding support to new WordPress version 5.7

#### 1.0.9

 * Adding support to new WordPress version 5.8

#### 1.0.10

 * Adding support to new WordPress version 5.9

#### 1.0.11

 * Adding support to new WordPress version 6.0

#### 1.0.11

 * Adding support to new WordPress version 6.1

#### 1.0.12

 * Adding support to new WordPress version 6.1

#### 1.0.13

 * Adding support to new WordPress version 6.2

#### 1.0.14

 * Adding support to new WordPress version 6.3

#### 1.0.15

 * Adding support to new WordPress version 6.4

#### 1.0.16

 * Running tests and validations

#### 1.0.17

 * Adding support to new WordPress version 6.5

#### 1.0.18

 * Adding support to new WordPress version 6.6

#### 1.0.19

 * Adding support to new WordPress version 6.7

#### 1.0.20

 * Adding support to new WordPress version 6.8

#### 1.0.21

 * Adding support to new WordPress version 6.9

## 额外信息

 *  版本 **1.0.21**
 *  最后更新：**5 月前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 4.0.26 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 5.6.30 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/asta-html-minifier/)
 * 标签
 * [Fast](https://cn.wordpress.org/plugins/tags/fast/)[html](https://cn.wordpress.org/plugins/tags/html/)
   [minifer](https://cn.wordpress.org/plugins/tags/minifer/)[performance](https://cn.wordpress.org/plugins/tags/performance/)
   [speed](https://cn.wordpress.org/plugins/tags/speed/)
 *  [高级视图](https://cn.wordpress.org/plugins/asta-html-minifier/advanced/)

## 评级

 4.5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/asta-html-minifier/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/asta-html-minifier/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/asta-html-minifier/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/asta-html-minifier/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/asta-html-minifier/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/asta-html-minifier/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/asta-html-minifier/reviews/)

## 贡献者

 *   [ Lior Asta ](https://profiles.wordpress.org/astavelopment/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/asta-html-minifier/)