What is Asset CleanUp plugin?
Asset CleanUp is a WordPress performance plugin focused on one specific task: controlling which CSS and JavaScript files load on each page. While most caching plugins apply asset optimization globally, Asset CleanUp works at the URL and page level — letting you disable specific plugin assets on pages where those plugins are not used. This targeted approach reduces page weight without affecting functionality on the pages that actually need those scripts.
The free version allows disabling WordPress default assets (Dashicons, emoji scripts, Classic Editor styles, jQuery migrate) and managing plugin-specific scripts on a page-by-page basis. Asset CleanUp Pro adds bulk rule management across multiple pages, test mode (preview the impact without applying changes), performance benchmarking, font management, and hardcoded script detection for scripts added directly to themes or page builders without using WordPress’s standard asset queue.
Asset CleanUp is most valuable when combined with a caching plugin — the caching handles page delivery, while Asset CleanUp handles the front-end asset footprint. It is conceptually similar to Perfmatters but tends to offer a more visual interface for configuring per-page rules and is particularly well-suited to sites where page builders load many unused assets on non-builder pages.
Need Help With Asset CleanUp Setup, Troubleshooting, or Customization?
Need help with Asset CleanUp? Whether you are dealing with errors, broken functionality, styling problems, plugin conflicts, or advanced customization, we can help you fix the issue and get the plugin working properly on your WordPress site.
Get Asset CleanUp Expert HelpKey Features
- Per-page CSS and JS disabling for specific plugins
- Disable WordPress default unused assets (Dashicons, emoji, jQuery migrate)
- Bulk asset rules across page types (Pro)
- Test mode to preview impact before applying (Pro)
- Hardcoded script detection for theme and builder assets (Pro)
Pros & Cons
Pros
- Precise per-page script management is effective at reducing unused JS
- Free version covers common use cases
- Visual interface for managing rules is clear
Cons
- Paid version needed for bulk management and advanced features
- Requires testing after each rule change to prevent breaking features
Free vs Premium
Free version handles per-page script disabling and default WordPress asset cleanup. Asset CleanUp Pro adds bulk rules, test mode, hardcoded script detection, font management, and benchmarking tools.
Common Problems & Fixes
Why did disabling a script with Asset CleanUp break a feature on my page?
Asset CleanUp rules disable scripts on the pages you configure. If a feature stops working, the script managing that feature was disabled on a page where it is still needed. Review the rules for that page and either remove the rule for the affected script or extend the load rule to include that page URL.
Why is a rule I set in Asset CleanUp not taking effect?
If a rule is saved but not being applied, check whether page caching is serving a cached version of the page before Asset CleanUp can apply its rules. Clear all caches after setting new rules. Also verify that the rule targets the correct URL or page type — rules based on post type, taxonomy, or URL pattern have different matching logic.
Why are hardcoded scripts not appearing in Asset CleanUp's script list?
Asset CleanUp detects scripts registered and enqueued through the standard WordPress wp_enqueue_script() system. Scripts added directly to templates via tags or by page builders through their own output mechanism may not appear in the list. Asset CleanUp Pro's hardcoded script detection addresses this by scanning the page source for additional scripts.
Customization & Developer Notes
How do I disable Dashicons from loading on the front end with Asset CleanUp?
Go to Asset CleanUp → Settings → Dashboard and find the “Unload Dashicons CSS” option. Enable it to prevent the Dashicon font and CSS from loading on the frontend for non-logged-in visitors. This is a common optimization since Dashicons is only needed in the WordPress admin bar area.
Can I use Asset CleanUp with WP Rocket?
Yes. The two plugins work at different levels — WP Rocket handles page caching and broad optimization, while Asset CleanUp handles per-script, per-page asset loading. After setting Asset CleanUp rules, clear the WP Rocket cache so pages are regenerated with the new script configuration.
Frequently Asked Questions
Is Asset CleanUp better than Perfmatters for script management?
Both serve the same core purpose. Asset CleanUp has a more visual, in-WordPress interface for managing rules. Perfmatters has a slightly cleaner user experience with a similar feature set. Most users choose based on personal interface preference and which they find easier to use consistently.
Do I need Asset CleanUp if I already have WP Rocket or LiteSpeed Cache?
If your caching plugin already handles per-page script loading, you may not need Asset CleanUp. WP Rocket does not have per-plugin, per-page asset management, so Asset CleanUp is often paired with it. LiteSpeed Cache users on busy sites may benefit from the additional precision.
Can Asset CleanUp help with Core Web Vitals?
Yes, indirectly. Removing unused JavaScript reduces the Total Blocking Time (TBT) metric, which affects your performance score. Fewer render-blocking scripts also improve First Contentful Paint (FCP). Asset CleanUp specifically targets unused assets — the exact problem that contributes to these metrics.
Does Asset CleanUp have a free version that is useful in production?
Yes. The free version handles per-page script disabling and WordPress default asset cleanup, which covers the most common performance use cases for many sites.