WordPress plugin intelligence profile

Code Unloader – Unload Unused CSS, JS & Assets Per Page

Unload unused CSS, JavaScript and other plugin assets per page, without code. Fewer HTTP requests, less page weight, safe and reversible unload rules.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version1.4.12
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 6.2 · PHP 8.0
Directory statusactive
Last directory update30 Sept 20261mo ago
Active installations30Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 1 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Code Unloader – Unload Unused CSS, JS & Assets Per Page version 1.4.12 as active, updated 1mo ago and tested up to WordPress 7.1.

Overview

About this plugin

Code Unloader is a free WordPress asset manager and script manager that lets you unload unused plugin CSS and JavaScript (JS) on selected pages without writing PHP. Unload assets where a page does not need them and keep them everywhere else. Reduce HTTP requests and page weight by loading files only where they are needed, which improves page speed and performance scores, with a one-click kill switch and per-request bypass for quick rollback.

2 KB and improving PageSpeed from 96 to 99. Results vary by site and depend on which assets can be safely unloaded.

Read the review:

org/support/topic/very-good-increases-pagespeed/

Common uses

  • Unload contact-form CSS and JavaScript from pages without a form
  • Stop WooCommerce assets from loading on pages that do not use shop features
  • Unload slider, sharing, popup, or page-builder files where they are not needed
  • Unload JS and CSS only for mobile visitors, or only for desktop
  • Create different asset rules for desktop and mobile visitors
  • Apply rules to one URL, a group of URLs, post types, or conditional page types

How it works

  • Open any frontend page while logged in as an administrator.
  • Click ⚡ Assets in the WordPress Admin Toolbar.
  • Find a CSS or JavaScript file and switch it off.
  • Choose where the rule should apply: an exact URL, wildcard pattern, regular expression, device type, or condition.
  • Save the rule, clear page cache if needed, and test the page.

The frontend panel groups assets by plugin, theme, or WordPress Core, making it easier to see what is loading and where it came from.

Official plugin homepage:

pro/our-products/code-unloader/

Unload assets per page: scripts, styles and plugin files

WordPress registers each script and stylesheet by handle, and most plugins enqueue theirs on every page. Code Unloader dequeues those handles on the pages you choose, so a form script, slider stylesheet or page-builder bundle loads only where it is used. It works on registered files from plugins, themes and WordPress core alike, and shows you the file’s source before you unload it.

Main features

  • Unload registered CSS and JavaScript on selected pages or across matching URLs
  • Exact URL, wildcard ( /shop/* ), and regular-expression matching
  • Conditions for logged-in users, WooCommerce pages, shortcodes, and post types
  • Desktop-only and mobile-only asset rules
  • Rule groups, global rule management, audit log, and JSON import/export
  • One-click kill switch that restores all assets without deleting any rules
  • Per-request?nowpcu bypass for testing the unoptimized page
  • Detection of inline <script> and <style> blocks for easier investigation

Safe, reversible testing

Every rule can be disabled or deleted. nowpcu to the URL to bypass all Code Unloader rules for that request. You can also use the global kill switch to restore every asset sitewide while keeping your rules saved.

Test unloading changes on a staging site first whenever possible. Removing a required CSS or JavaScript file can affect a page’s appearance or functionality.

Compatibility

Code Unloader is designed to work alongside common caching, optimization, e-commerce, and page-builder plugins, including WP Rocket, W3 Total Cache, LiteSpeed Cache, WP Super Cache, WooCommerce, Elementor, Divi, and WPBakery Page Builder.

0 or higher is required.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • asset manager
  • unload assets
  • unload css
  • unload javascript
  • dequeue
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 6.2 · PHP 8.0
Update activity30 Sept 20261mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

Version1.4.111.4.12
WordPress compatibility7.17.1.2
Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.