Title: Debloat &#8211; Remove Unused CSS, Optimize JS
Author: asadkn
Published: <strong>2021 年 8 月 21 日</strong>
Last modified: 2026 年 3 月 4 日

---

搜尋外掛

![](https://s.w.org/plugins/geopattern-icon/debloat.svg)

# Debloat – Remove Unused CSS, Optimize JS

 由 [asadkn](https://profiles.wordpress.org/asadkn/) 開發

[下載](https://downloads.wordpress.org/plugin/debloat.1.3.0.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/debloat/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/debloat/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/debloat/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/debloat/#developers)

 [技術支援](https://wordpress.org/support/plugin/debloat/)

## 外掛說明

A plugin for Advanced Users to Optimize CSS Delivery, Remove Unused CSS, Optimize
Javascript Delivery with defer or delay load JS.
 The perfect toolkit for improving
your Core Web Vitals and overall website performance.

WARNING: It’s a powerful speed optimization plugin that’s meant for power users 
who know what they’re doing.

**Features:**

 * Optimize CSS: Fix Render-Blocking.
 * Minify and Inline CSS.
 * Remove Unused CSS (Advanced).
 * Optimize JS: Fix Render-Blocking with defer.
 * Delay Load some JS until user interaction.
 * Adds resource hints for faster Google Fonts.
 * Built-in optimizations for Elementor (free version).
 * Built-in optimizations for WPBakery Page Builder.
 * Compatible with all themes and plugins.
 * Supports all modern browsers (no IE11 support).
 * Optimized code benchmarked for performance.
 * Built-in cache for processing.
 * Compatible with cache plugins (disable their JS and CSS optimizations).
 * API and hooks for theme & plugin authors.

## 安裝方式

 1. Upload/Install and activate the plugin.
 2. Go to _Settings_ > Debloat Optimize, and configure per your requirement.
 3. Clear all caches from any cache plugin you may have active.

## 使用者評論

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

### 󠀁[Delay js not working](https://wordpress.org/support/topic/sadly-delay-js-does-not-work-for-me-at-all/)󠁿

 [Sunny](https://profiles.wordpress.org/frdmsun/) 2026 年 1 月 5 日

Sadly delay JS is not working for me. Tried multiple settings. Bug?

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

### 󠀁[best plugin for Remove Unused CSS, Optimize JS](https://wordpress.org/support/topic/best-plugin-for-remove-unused-css-optimize-js/)󠁿

 [ehs2529476](https://profiles.wordpress.org/ehs2529476/) 2025 年 12 月 8 日

best plugin for Remove Unused CSS, Optimize JS Thank you

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

### 󠀁[The Code of Javascript is conflict Some plugins](https://wordpress.org/support/topic/the-code-of-javascript-is-conflict-some-plugins/)󠁿

 [rorobert](https://profiles.wordpress.org/rorobert/) 2025 年 6 月 24 日

The Debloat is best plugin but it is conflict for the gt translate plugin The debloat
plugin is removed the gt translate in the website.So kindly see this matterThanks

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

### 󠀁[Works okay, but doesn’t work very well with Sage and Bedrock](https://wordpress.org/support/topic/works-okay-but-doesnt-work-very-well-with-sage-and-bedrock/)󠁿

 [hirngesicht](https://profiles.wordpress.org/hirngesicht/) 2025 年 2 月 13 日

My website uses Sage 10 with the Bedrock boilerplate, and for some reason I just
can’t exclude some Javascript files from delayed loading. It’s a pity, because Engrish
text in the plugin aside, it’s great.

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

### 󠀁[Nice plugin. The combine CSS feature works great!](https://wordpress.org/support/topic/nice-plugin-the-combine-css-feature-works-great/)󠁿

 [Mark](https://profiles.wordpress.org/markob17/) 2024 年 9 月 13 日 2 則留言

I used to pay and use Perfmatters to combine CSS, as I didn’t like the WP-Rocket
implementation. But stopped using the former after finding Debloat to save some 
money. I’m not sure if it works as well as Perfmatters, but does do what I need 
it to do. It fixes all the PageSpeed insight recommendations about CSS, and my site
loads very fast with it enabled for combining CSS, with WP Rocket handling everything
else. I have a complex membership site with 60+ plugins and was able to get page
load down to 0.9 – 1 second, even for logged-in users – and AffiliateWP still tracks
cookies properly, and all else works. On the blog I also have, I got page load down
to 200 – 300ms. Like other combine CSS plugins, I had to obviously add some exceptions
to get some things to display properly, but that is pretty standard stuff. Anyways,
this plugin is very good. I highly recommend it if you need to combine CSS.

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

### 󠀁[Like a Ferrari](https://wordpress.org/support/topic/like-a-ferrari/)󠁿

 [zendev](https://profiles.wordpress.org/zendev/) 2024 年 9 月 10 日

A bit tricky to tune it up and get it running perfectly, but one you do, it can 
speed up your site more than any other minifying/optimizing plugin than I’ve ever
seen before. The tricky balance is figuring out which JS and CSS you can get rid
of or delay without negatively impacting the operation of the site. In some cases
you need to get really familiar with your web browser’s developer tools so that 
you can see which scripts need to run. I also appreciate that this plugin doesn’t
try to do too much. Some of the optimization plugins go way overboard with features
and then seem to do none of them particularly well while simultaneously spamming
your Wordpress dashboard with “Upgrade to Pro” messages. This one doesn’t do that
at all.

 [ 閱讀全部 41 則使用者評論 ](https://wordpress.org/support/plugin/debloat/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Debloat – Remove Unused CSS, Optimize JS〉的開發相關工作。

參與者

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

[將〈Debloat – Remove Unused CSS, Optimize JS〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/debloat)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/debloat/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/debloat/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/debloat/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/debloat/)。

## 變更記錄

#### 1.3.0

 * Improved: A new performant way to load translations.
 * Fixed: Typos in the translations.
 * Updated: CMB2 dependency to the latest stable release.

#### 1.2.8

 * Added: Support for a new lazyload from ThemeSphere.
 * Fixed: A harmless PHP Warning.

#### 1.2.7

 * Improved: Elementor integration delay load rules are relaxed to exclude the new
   lazyload.

#### 1.2.4

 * Fixed: Handling of empty or malformed script tags.
 * Fixed: WPBakery and WooCommerce conflict with delay JS on flexslider.
 * Fixed: A rare PHP warning on clearing the cache, including from cache plugins.

#### 1.2.3

 * Added: Support for media queries when unused CSS is removed.
 * Fixed: PHP warnings on PHP 8.2.
 * Fixed: Parsing complex CSS selectors with commas and several other complex rules.
 * Updated: Sabberworm CSS Parser to 8.4 with patches.

#### 1.2.1

 * Fixed: A few minor PHP warnings / notices.
 * Improved: Elementor admin bar drop downs should render in delay JS.

#### 1.2.0

 * Fixed: Error when malformed link tags with missing href.

#### 1.1.9

 * Fixed: Google Fonts inline feature when additional parameters present in URL.
 * Improved: Strip unnecessary rel=stylesheet in inline styles.

#### 1.1.7

 * Added: Option to defer inline scripts – useful if some dependent inline scripts
   not registered using WordPress enqueues.
 * Fixed: Defer inline scripts with jQuery if jquery-core is deferred.

#### 1.1.6

 * Fixed: Delay/defer only replacing one instance with duplicated tags of the same
   URL and id.

#### 1.1.5

 * Added: New filter debloat/should_process.
 * Improved: Skip converting already qualified URLs.
 * Bumped required PHP version to 7.1+.

#### 1.1.4

 * Fixed: Some PHP notices under certain conditions.

#### 1.1.3

 * Added: Maximum user interaction wait time for JS delay load feature.

#### 1.1.2

 * Fixed: Disable processing in feeds and on missing HTML tag.

#### 1.1.1

 * Fixed: Fatal error for Sabberworm lib and resolved/matched AMP plugin dependency.

#### 1.1.0

 * Added: WP CLI Commands to empty caches.
 * Added: Google Fonts optimizations such as font-display: swap.
 * Added: Option to inline Google Fonts CSS.

#### 1.0.0

 * Initial release.

## 中繼資料

 *  版本 **1.3.0**
 *  最後更新 **3 個月前**
 *  啟用安裝數 **30,000+**
 *  WordPress 版本需求 ** 5.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.9.4**
 *  PHP 版本需求 ** 7.4.1 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/debloat/)
 * 標籤:
 * [Optimize](https://tw.wordpress.org/plugins/tags/optimize/)[performance](https://tw.wordpress.org/plugins/tags/performance/)
   [speed](https://tw.wordpress.org/plugins/tags/speed/)[uncss](https://tw.wordpress.org/plugins/tags/uncss/)
 *  [進階檢視](https://tw.wordpress.org/plugins/debloat/advanced/)

## 評分

 4.8 星，滿分為 5 星

 *  [  38 個 5 星使用者評論     ](https://wordpress.org/support/plugin/debloat/reviews/?filter=5)
 *  [  1 個 4 星使用者評論     ](https://wordpress.org/support/plugin/debloat/reviews/?filter=4)
 *  [  1 個 3 星使用者評論     ](https://wordpress.org/support/plugin/debloat/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/debloat/reviews/?filter=2)
 *  [  1 個 1 星使用者評論     ](https://wordpress.org/support/plugin/debloat/reviews/?filter=1)

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

[查看全部使用者評論](https://wordpress.org/support/plugin/debloat/reviews/)

## 參與者

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

## 技術支援

最近 2 個月解決的問題:

     總計 1 個問題，已解決 0 個

 [檢視技術支援論壇](https://wordpress.org/support/plugin/debloat/)