Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make…
About Debloat – Remove Unused CSS, Optimize JS
This plugin is designed for advanced users who want to optimize their website's CSS and JavaScript delivery, remove unused CSS, and improve Core Web Vitals and overall performance. It includes features like fixing render-blocking, minifying and inline CSS, delaying JS loading, and adding resource hints for faster Google Fonts. It is compatible with all themes and plugins and has built-in cache for processing.Frequently asked questions
What is Debloat?
Debloat is a WordPress plugin designed for advanced users to optimize CSS and JavaScript delivery. It helps improve Core Web Vitals and overall website performance.
What are the main features of Debloat?
Key features include optimizing and inlining CSS, removing unused CSS, optimizing JavaScript delivery with defer or delay load, and adding resource hints for Google Fonts. It also offers built-in optimizations for Elementor and WPBakery Page Builder.
Is Debloat compatible with other plugins and browsers?
Yes, Debloat is compatible with all themes and plugins, though it's recommended to disable other plugins' JS and CSS optimizations. It supports all modern browsers, but not IE11.
Who is Debloat for?
Debloat is a powerful speed optimization plugin meant for power users who are familiar with website optimization techniques. It provides a toolkit for improving site performance.
Changelog
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.