@baruch4552 setting up the plugin requires unloading CSS/JS too which in the end would bring great results, especially if you unload large files that aren’t needed, but you need to go through a trial and error. For instance, you unload a CSS that you believe it’s not needed from a certain plugin on the homepage and then test if that page is loaded correctly. If it is, you move on. This way, you will determine which files are needed or not.
Usually, people know which plugins are needed or not on the homepage (just an example as it’s the most common page) and do the unloads accordingly. You can also use Coverage from Google Chrome, like in the following example: https://www.assetcleanup.com/docs/how-to-check-if-gutenberg-blocks-css-file-is-needed-or-not/ – what you need to do first, is deactivate Autoptimize so that you will view all the individual files (not one combined CSS) and check which ones are not needed (e.g. 100% of the code is not used according to Coverage). Once you do all the unloading, you can reactivate Autoptimize. It will take the remaining loaded CSS files (after you’ve done the unloading via Asset CleanUp) and combine them into one.
Custom work is not included in the Pro version of the plugin as support is for bug fixes, incompatibility with other plugins, and any plugin functionality that is not working as expected.
PS: You mentioned some plugin incompatibility (other plugins not working well when Asset CleanUp is activated) privately. Let’s keep the conversation there as it’s related to the Pro version. If it has anything to do with the Lite version, I’ll mention it here so everyone that is reading this will know if there are any bugs to be fixed.
Thank you very much Gabe for a detailed answer,
I use plugins for optimization WP Rocket, RapidLoad Power-Up for Autoptimize, OMGF Pro.
I have to disable them before and I start working with your plugin? I got you right?
Glad you’re helping me, I really want to succeed
@baruch4552 The ideal way of optimizing a website is to first clean up all the garbage by unloading useless CSS & JS and then use optimization tools such as minify (which is also offered by Asset CleanUp), combine, and so on. Once all the trash is removed, WP Rocket (if you use it) will take the remaining loaded files and minify/combine them or create critical CSS from the remaining CSS, etc. I hope it makes sense!
What to do with the files useless at 70% or 90% ?