Applying the query string below will disable Asset CleanUp on the fly.
https://yourwebsitedomain.com/?wpacu_no_load
It’s great if you’ve done particular changes to a page (e.g. prevented CSS/JS from loading, applied “defer” or “async” attribute to JavaScript files, used minify and combine) and you want to check if it loads the same as it used to before Asset CleanUp optimization was applied.
Ideally, when debugging and checking for differences like in this scenario, you should load your pages with query strings applied to them to prevent you from loading a cached version of that page in case you’re using a plugin like WP Rocket. Best would be to use two tabs with the following URLs:
- For testing the page before Asset CleanUp settings/rules were applied: https://yourwebsitedomain.com/?wpacu_no_load
- For testing the page after Asset CleanUp settings/rules were applied: https://yourwebsitedomain.com/?nocache (it will skip any outdated caching from WP Rocket or similar plugins, but trigger the unload rules and other settings from Asset CleanUp)
If you wish to prevent the plugin from loading on certain pages for any reason (not just via query string for debugging purposes, but in any situation, when the page is loaded), click here for instructions on how to do that.
Was this post helpful?
Let us know if you liked the post. That’s the only way we can improve.