There are often times when you are using a theme and a number of plugins which are enabled and run on the same page. However, you don’t need to use all of them and to improve the speed of your website and make the HTML source code cleaner (convenient for debugging purposes), it’s better to prevent those styles and scripts from loading.
For instance, you might use a plugin that generates contact forms and it loads its assets (.CSS and .JS files) in every page of your website instead of doing it only in the /contact page (if that’s the only place where you need it).
“Asset CleanUp” scans your page and detects all the assets that are loaded. All you have to do when editing a page/post is just to select the CSS/JS that are not necessary to load, this way reducing the bloat.
The plugin works best in combination with a cache plugin (e.g. WP Rocket, WP Fastest Cache, W3 Total Cache), a hosting company that offers packages with server-level caching available (e.g. WP Engine, Kinsta) or a service like Cloudflare that has page caching enabled.
Features Asset CleanUp Pro – Performance WordPress Plugin :
- Taxonomy pages such as default WordPress’ categories, tags and custom created ones such as products’ categories from WooCommerce.
- Author pages (e.g. the page showing all posts published by a specific author, detected via
- Default WordPress Search Page
- WooCommmerce Search Page (which has the same settings as the actual shop page detected via
- Date Archive Page: this is any page that retrieves articles filtered by the date, detected via
Bulk Unloads: Everywhere (Site-Wide), On Specific Pages & Post Types, Add load exceptions
- Enable “Test Mode” to only apply the plugin’s changes for the logged-in administrator for debugging purposes
- Remove unused elements from the <HEAD> and <BODY> including the following link tags: Really Simple Discovery (RSD), Windows Live Writer, REST API, Posts/Pages Shortlink, Post’s Relational, WordPress Generators (also good for security), RSS Feed Links. Valid HTML comments are also stripped (exceptions can be added) while conditional Internet Explorer comments are preserved.
Site-Wide Unload For Common Elements that are often unused such as: WordPress Emojis, jQuery Migrate, Comment Reply (if not using WP as a blog)
- Disable XML-RPC Protocol Support partially or completely
- Inline CSS Files
- Instruct the browser to download a CSS/JS file based on the visitor’s screen size (e.g. download it on a desktop device, but not on mobile one)
- Defer CSS loaded in the <BODY> to reduce render-blocking resources