You’ve improved the Google PageSpeed / GTMetrix score of your website and you can visible see an improvement in the loading time of your pages. Great news! You will likely change the plugin’s settings once in a while from now on (e.g. whenever you will add a new plugin). Now, let’s do some extra checks and changes to the plugin configuration that will make it use fewer resources and be less obtrusive at the same time.

1) Check the browser’s console (right-click & “Inspect”) for any errors, especially JavaScript ones

I can’t stress this enough! Often, after a website optimization (it doesn’t matter the plugin/tool that has been used), you need to make sure the functionality is still there, even though the website look is exactly the same. Something that happens often is JavaScript errors either from combining the wrong files (not often, but it happens) or unloading the wrong JavaScript files (this is more common) that shouldn’t have been unloaded. For instance, there are situations where everything is working fine in the desktop view, but when you view the page in mobile view, the burger menu doesn’t trigger on click because of the JavaScript error.

In the print screen below, there are no errors reported, which is the ideal way. In case you see any, just double check if they are related to Asset CleanUp in any way (e.g. it wasn’t showing up before and after you combined JS files or inlined some, you can notice some errors there). The most common one is “jQuery is undefined”.

2) Mark “Manage in the Front-end” as disabled if you have it turned ON in “Settings” – “Plugin usage preferences”

Having the CSS/JS management list at the bottom of each loaded page while you are logged-in and browser through your website pages adds up to the total page load time (even though it’s only for yourself) and it can make you distracted. Plus, the plugin loads its own CSS/JS files needed for the functionality of the assets management page which will also make the server record the extra HTTP requests in your access logs (e.g. access_log in Apache). It’s better to have a cleaner list whenever you need to go through it and it takes less space (in the print screen below, the option is turned off).

3) Hide the plugin’s metaboxes from the edit post/page area or make them have less content

Within “Manage in the Dashboard” (if turned ON), located in “Settings” – “Plugin usage preferences”, you can hide the meta boxes by marking the following checkboxes:

  • Hide “Asset CleanUp Pro: CSS & JavaScript Manager” meta box
  • Hide “Asset CleanUp Pro: Options” meta box

This will not only declutter the edit page (which can confuse some users who have admin access and didn’t use the plugin, but see the CSS/JS management list), making it easier for you to scroll through it, but also will avoid calls to /wp-admin/admin-ajax.php in order to fetch and analyze the assets, a thing that uses server resources. If multiple admin users are editing posts within the Dashboard, it can add up to the total CPU/memory usage of your server, which is not desired, especially if you have a high traffic website (in the print screen below, below the meta boxes are showing as they are ticked for hiding).

Note: An alternative to hiding the metaboxes is to use the option “Fetch the assets on a button click” from “Manage in the Dashboard” area, which will show a button, allowing you to fetch the assets list when you click it. It’s a good alternative if you think you will manage the CSS/JS list more often to avoid going back and forth to the “Settings” and re-activate the metaboxes.

4) Hide the plugin’s menu from the Toolbar (top admin bar) & the left sidebar (within the Dashboard)

You can declutter the top admin bar (if it’s active; in most of WordPress installs, it is) and left sidebar (within the Dashboard) by hiding the “Asset CleanUp” menu. It’s good if you rarely need to access the plugin from the front-end view and you already have plenty of elements in the sidebar. The option can be activated in ‘Settings’ – ‘Plugin usage preferences’ (based on the example from the print screen below, the menus are showing up as none of them are ticked for hiding).

Note: If you hide the plugin’s menu in both locations, the only way to access the plugin’s pages by using a link would be via “Settings” (default WordPress link from the Dashboard’s sidebar) -> “Asset CleanUp” or directly accessing it via //

Was this post helpful?