If you used PayPal to purchase Asset CleanUp Pro and you wish for any reason to stop the automatic yearly charges, you can cancel the merchant’s profile that was set when you made the purchase. You will need to first log in to your PayPal account and locate the “My preapproved payments” page. You can […]
Can Asset CleanUp automatically detect which CSS/JS files are needed or not on a certain page?
In short, no! Due to the nature of the web pages and the way the CSS/JS code is connected to them, there’s no tool that would predict with 100% accuracy without any manual intervention if a certain asset is loading on a page without having any of its code triggering on that page. Now, there […]
How to instruct the browser to download a file based on the visitor’s screen size?
Reminder: This option is available in the Pro version starting from v126.96.36.199 and it’s recommended to be used with care. If you’re not sure whether to instruct the browser to download a file based on the screen size, then it’s better to leave it as it is (the default option “on any screen size”). In […]
How to load an alternative, lighter version of a file?
Note: This post is meant for developers or for users that are comfortable editing code and have minimum knowledge of PHP/WordPress coding. There are often situations when CSS/JS files are enqueued in WordPress, but on certain pages, only a fraction of their code is actually used. For instance, you might be using a theme that […]
What’s the purpose of “CDN: Rewrite assets URLs” option?
This option is only needed to be enabled if you already have a CDN set on your websites such as KeyCDN (which is compatible with the WordPress plugin “CDN Enabler – WordPress CDN Plugin“) and the URL to the cached CSS/JS files from Asset CleanUp Pro has not been already updated. The CDN can be […]
Asset CleanUp Pro randomly deactivates. What are the possible solutions to prevent this?
There were reports of the Pro version randomly being deactivated in certain environments when everything is looking good (no errors of any kind). Although these are isolated cases, there have been a larger number of reports as for today, 8 September 2020. Therefore, a plugin called “Asset CleanUp Pro: Keep it always active” has been […]
Why are the unload settings that I’ve applied for CSS/JS files not taking any effect when I visit the page?
Whenever you unload certain CSS/JS files, you expect to either see an immediate increase in the Google PageSpeed Insights / GTMetrix score or not loaded when you test the page in Incognito (visiting it as a guest, while you’re not logged-in). However, this doesn’t always happen. Here are a few known causes: 1) You’re using […]
Critical CSS: How to implement it to completely reduce render-blocking stylesheets
Before starting, please check if you already have critical CSS implemented on your pages. For instance, if you use “WP Rocket” plugin, then it’s the following option: “File Optimization” -> “CSS Files” -> “Optimize CSS Delivery”. Also, you might be using “Autoptimize criticalcss.com power-up” together with “Autoptimize”, etc. What’s critical CSS? Can I just defer […]
I’m done with the website optimisation. Any tips on using the plugin from this point?
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 […]
How to exclude entire Asset CleanUp (Pro / Lite) plugin from loading on certain pages
There are situations when you might want to exclude the plugin from loading any of its functionality on certain pages. For instance, you could have errors due to a conflict with another optimisation plugin or you are worried that some global rules you’ve applied are affecting the page’s functionality. Or, you have pages that barely […]