Title: ACSS Purger
Author: Rosua
Published: <strong>2023 年 4 月 12 日</strong>
Last modified: 2025 年 2 月 4 日

---

搜索插件

![](https://ps.w.org/acss-purger/assets/banner-772x250.png?rev=2897554)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/acss-purger/assets/icon-256x256.png?rev=2897549)

# ACSS Purger

 作者：[Rosua](https://profiles.wordpress.org/rosua/)

[下载](https://downloads.wordpress.org/plugin/acss-purger.1.0.16.zip)

 * [详情](https://cn.wordpress.org/plugins/acss-purger/#description)
 * [评价](https://cn.wordpress.org/plugins/acss-purger/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/acss-purger/#developers)

 [支持](https://wordpress.org/support/plugin/acss-purger/)

## 描述

ACSS Purger helps you reduce the size of your Automatic.css CSS file by purging 
unused CSS classes (selectors) based on your design on the Bricks builder.

Up to 90% smaller CSS file size!

#### Liked ACSS Purger?

 * Join our [Facebook Group](https://www.facebook.com/groups/1142662969627943).
 * Or rate us on [WordPress](https://wordpress.org/support/plugin/acss-purger/reviews/?filter=5/#new-post/)
   🙂

#### Credits

 * Image by [brgfx](https://www.freepik.com/free-vector/blue-funnel-sticker-white-background_18935987.htm#query=funnel&position=1&from_view=search&track=sph)
   on Freepik

## 屏幕截图

[[

## 常见问题

### Does it work with Bricks Builder and Oxygen Builder?

ACSS Purger works with Bricks Builder and Oxygen Builder.

### How does ACSS Purger manage the CSS file?

ACSS Purger will copy your original CSS file into a different folder and purge the
copy. When you visit your site as a guest, ACSS Purger will replace the original
CSS URL with a purged CSS URL.

If you have the cache system activated, try to clear the cache to see the result
immediately.

### What made it different from the “Pro Mode” introduced on ACSS 2.3?

ACSS Purger allows you to cherry-pick the classes you want, while “Pro Mode” doesn’t
allow you to use any classes from disabled categories.

Pro Mode is a feature that deactivates most of the classes while retaining the use
of variables to allow you to reduce the ACSS framework CSS file.

With “Pro Mode”, you are limiting yourself from the beginning by reducing the number
of classes you can use.

ACSS Purger will give you an alternative workflow: use any classes, then purge later(
automatically) the CSS file. This workflow gives you more freedom in a cheaper way
to use any classes while still lightening the ACSS framework by over 50%.

### What if I want to use the classes that are purged?

When logged as Admin or editing inside Bricks editor and Oxygen editor, you are 
loading the original CSS file, allowing you to use any classes.

Once you save your edit on the Bricks or Oxygen editor, ACSS Purger will run in 
the background and purge the CSS file based on your recent edits.

### What if I want to exclude some classes from being purged?

You can add the classes to the safelist. The safelist is a list of classes that 
will be excluded from being purged.

## 评价

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

### 󠀁[Fabulous!](https://wordpress.org/support/topic/fabulous-231/)󠁿

 [harryfear](https://profiles.wordpress.org/harryfear/) 2024 年 4 月 25 日

What a fabulous fix for a real-world problem! Haven’t tested this in production 
yet, but in development all seems good. Ko-fi en route!

 [ 阅读所有0条评价 ](https://wordpress.org/support/plugin/acss-purger/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ Rosua ](https://profiles.wordpress.org/rosua/)
 *   [ Sua ](https://profiles.wordpress.org/suabahasa/)

[帮助将「ACSS Purger」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/acss-purger)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.16

 * **Improve**: Update compability to Automatic.css 3.2.10

#### 1.0.14

 * **Improve**: Update compability to Automatic.css 2.7.3

#### 1.0.11

 * **New**: No need to manually clear the cache anymore, work with any Cache plugins(
   WP Rocket, W3 Total Cache, LiteSpeed Cache, WP Fastest Cache, etc).

#### 1.0.10

 * **Fix**: Crashed when deactivating the plugin if the cache folder is missing

#### 1.0.9

 * **New**: You can use asteriks (*) as a wildcard in the safelist
 * **Fix**: Matching engine now more accurate. Missing escaped dot (.) in the regex
   pattern

#### 1.0.8

 * **New**: WordPress.org readme and assets update

#### 1.0.6

 * **New**: ACSS Purger is now available on WordPress.org

#### 1.0.5

 * **Change**: Plugin update now served by WordPress.org

#### 1.0.4

 * **Improve**: Follow the WordPress guidelines

#### 1.0.3

 * **New**: Safelist classes to prevent them from being purged

#### 1.0.2

 * **New**: Remove fallback CSS rule (experimental)
 * **New**: Buy a Coffee for the developer

#### 1.0.1

 * **Improve**: Don’t serve the purged CSS file to logged Admin
 * **Improve**: Remove purged CSS files when the plugin is deactivated
 * **Improve**: Schedule purge task if the change made to Bricks content, Oxygen
   content, and Automatic CSS configuration
 * **Improve**: Update UI for clarity

#### 1.0.0

 * 🐣 Initial release

## 额外信息

 *  版本 **1.0.16**
 *  最后更新：**1 年前**
 *  活跃安装数量 **80+**
 *  WordPress 版本 ** 6.0 或更高版本 **
 *  已测试的最高版本为 **6.7.5**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/acss-purger/)
 *  [高级视图](https://cn.wordpress.org/plugins/acss-purger/advanced/)

## 评级

 5 星（最高 5 星）。

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

[Your review](https://wordpress.org/support/plugin/acss-purger/reviews/#new-post)

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

## 贡献者

 *   [ Rosua ](https://profiles.wordpress.org/rosua/)
 *   [ Sua ](https://profiles.wordpress.org/suabahasa/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/acss-purger/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://ko-fi.com/Q5Q75XSF7)