Title: CSS Optimizer &#8211; Remove Unused CSS
Author: wooncherk
Published: <strong>2021 年 11 月 4 日</strong>
Last modified: 2022 年 3 月 16 日

---

搜索插件

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

![](https://ps.w.org/css-optimizer-remove-unused-css/assets/icon-256x256.jpg?rev
=2624600)

# CSS Optimizer – Remove Unused CSS

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

[下载](https://downloads.wordpress.org/plugin/css-optimizer-remove-unused-css.1.7.zip)

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

 [支持](https://wordpress.org/support/plugin/css-optimizer-remove-unused-css/)

## 描述

“Remove Unused CSS” is frequently flagged in Google’s PageSpeed Insights. Indeed,
most scenario, around 70% – 80% of a page’s CSS codes are redundant, and can be 
removed without affecting the overall visual. This happens mainly because WordPress
themes and plugins are created as generic solutions that includes a bunch of features
that may or may not be used on a particular page.

Example: A theme may come with a bunch of features such as _slider_, _carousel_,
_animation_ and etc, but your home page may use only the _slider_ feature and your
about page may use only the _carousel_ feature. However, for practical reason, it’s
virtually impossible to selectively include only the required CSS rules for the 
features that were enabled on a particular page.

This is where the CSS Optimizer becomes useful. The plugin make calls to [ZippiSite](https://zippisite.com)‘
s CSS Optimizer API to find the required CSS rules on a particular page, and remove
the ones that are not needed.

## 屏幕截图

 * [[
 * Remove Unused CSS to pass Google PageSpeed Insights (Core Web Vitals)
 * [[
 * Settings page, the only place you need to configure.

## 常见问题

### Is the CSS Optimizer API free to use?

It’s free to use with a quota of 150 API hits per months. Note that API hits does
not equals page views. In our tests on real world websites, 150 API calls is able
to serve approximately 1,000 monthly page views. In other words, the Free Plan should
suffice for small websites.

If you require more API quota, paid plans are available, starting from as cheap 
as $3 for 800 monthly API calls – approximately 5,300 monthly page views.

### What happens if there are styling issues after using this plugin?

We provide free support for all plans – even free plans. We’ll reply within 12 hours
for paid plans, and within 24h for free plan.

### What this plugin really does? Will it add extra burden to my server?

What this plugin does is to make calls to our API hosted on our server. The real
heavy-lifting is done on our server, so you don’t need to worry that the plugin 
will require extra resources.

## 评价

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

### 󠀁[Pest plugin](https://wordpress.org/support/topic/pest-plugin/)󠁿

 [Bahus](https://profiles.wordpress.org/bahus/) 2023 年 3 月 3 日

The plugin simply catastrophically eats up space on the hosting.The site is 5.9 
gigabytes. Of these, 3.9 gigabytes is occupied by the plugin cache in the wp-content
folder.It’s not an optimizer plugin, it’s a pest plugin.

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

### 󠀁[Broke my site](https://wordpress.org/support/topic/broke-my-site-241/)󠁿

 [rvs2141](https://profiles.wordpress.org/rvs2141/) 2022 年 6 月 7 日

After installing plugin, my site is completely broken, had to restore it with beckup.

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

### 󠀁[good to use](https://wordpress.org/support/topic/good-to-use-38/)󠁿

 [jhui123](https://profiles.wordpress.org/jhui123/) 2021 年 11 月 10 日

Good to use

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

### 󠀁[Nice to use](https://wordpress.org/support/topic/nice-to-use-18/)󠁿

 [yifan99](https://profiles.wordpress.org/yifan99/) 2021 年 11 月 10 日

User friendly. So easy to use

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

### 󠀁[Easy to use.](https://wordpress.org/support/topic/easy-to-use-4097/)󠁿

 [huirulee14](https://profiles.wordpress.org/huirulee14/) 2021 年 11 月 10 日

My website has a lot of unused CSS, by using this CSS optimizer. Mine CSS size decreased
around 90%. Users-Friendly with a good design.

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

### 󠀁[Reduce Unused CSS works like a charm!](https://wordpress.org/support/topic/reduce-unused-css-works-like-a-charm/)󠁿

 [phewlau](https://profiles.wordpress.org/phewlau/) 2021 年 11 月 10 日

This plugin has drastically helped my site! Before using the plugin, Google’s PageSpeed
Insights keeps flagging my site with “Reduce Unused CSS” and “Eliminate render-blocking
resources”. What more can you ask for a free plugin?

 [ 阅读所有6条评价 ](https://wordpress.org/support/plugin/css-optimizer-remove-unused-css/reviews/)

## 贡献者及开发者

「CSS Optimizer – Remove Unused CSS」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ wooncherk ](https://profiles.wordpress.org/wooncherk/)

[帮助将「CSS Optimizer – Remove Unused CSS」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/css-optimizer-remove-unused-css)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.7

 * Integrates with W3 Total Cache
 * Fix bug in job queue handling
 * Add warning in case of high amount of failed API calls

#### 1.6

 * Integrates with WP-Optimize
 * Fix bug where relative path is being incorrectly processed
 * Fix compatibiliy issue with Autopimize
 * Improve admin dashboard notification
 * Add FAQ section

#### 1.5

 * Integrats with SG Optimizer.
 * Improved compatibility.
 * Minor bug fixes

#### 1.4

 * Integrates with WP Fastest Cache and WP Rocket. More integration coming soon!
 * Improvements in the general workflow.
 * Minor bug fixes.

#### 1.3

 * Remove dependency on Auoptimize. The plugin can now work with or without Autoptimize.

#### 1.2

 * Add Job Queue for easier management.

#### 1.1

 * Add support for generating Critical CSS.

#### 1.0

 * First version. More updates coming soon!

## 额外信息

 *  版本 **1.7**
 *  最后更新：**4 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 4.7 或更高版本 **
 *  已测试的最高版本为 **5.9.13**
 *  PHP 版本 ** 5.1 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/css-optimizer-remove-unused-css/)
 * 标签
 * [autoptimize](https://cn.wordpress.org/plugins/tags/autoptimize/)[Critical CSS](https://cn.wordpress.org/plugins/tags/critical-css/)
   [css](https://cn.wordpress.org/plugins/tags/css/)[speed](https://cn.wordpress.org/plugins/tags/speed/)
 *  [高级视图](https://cn.wordpress.org/plugins/css-optimizer-remove-unused-css/advanced/)

## 评级

 3.7 星（最高 5 星）。

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

[Your review](https://wordpress.org/support/plugin/css-optimizer-remove-unused-css/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/css-optimizer-remove-unused-css/reviews/)

## 贡献者

 *   [ wooncherk ](https://profiles.wordpress.org/wooncherk/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/css-optimizer-remove-unused-css/)

## 捐助

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

 [ 捐助此插件 ](https://zippisite.com/)