Once you install and activate Asset CleanUp (Lite or Pro) for the first time, there are a few optimizations that could be done automatically, depending on the website:
“Settings” -> “Optimize CSS” -> “Cache Dynamic Loaded CSS” option is enabled by default and if you’re loading CSS that is dynamically generated via PHP, then it will be automatically optimized (e.g. https://yourwebsitedomainhere.com/?custom-css=value_here“Settings” -> “Optimize JS” -> “Cache Dynamic Loaded JS” option is enabled by default and if you’re loading JavaScript that is dynamically generated via PHP, then it will be automatically optimized (e.g. https://yourwebsitedomainhere.com/?custom-javascript=value_here
If, however, you had the plugin activated before and you decided to re-activate it, then all the previous settings that were applied prior to deactivation will be restored and take effect.
Once you edit your posts, pages, categories (and so on) you will notice the list of loaded assets in a meta box as assets’ management within the Dashboard is enabled by default in Asset CleanUp.
You have to go to “Asset CleanUp” (Dashboard left sidebar link), “Settings” and determine how you’d like to have the assets fetched (can even be in the front-end if you prefer, in case sometimes it doesn’t work within the Dashboard). In the same settings page, you can set up which elements you’d like to have cleaned from the HEAD section of your website, remove query strings from static resources, disable emojis as well as deactivating XML-RPC protocol support which is not needed in specific WordPress installations.
What if I want to clear any previous rules and start the configuration from scratch?
In this case, you can reset everything and get back to square one by using the “Reset” tab from “Tools” (plugin’s menu). You can choose the option “Reset everything” like in the print screen below: