Autoptimize merely combines all JS (and CSS) of your theme & plugins, but it does not (and cannot) remove or add code in the Autoptimized files. If you need the JS to be smaller (filesize & execution time) you’ll have to look into what the origin of the JS is (by looking at the HTML source of your site with AO disabled, by adding ?ao_noptimize=1 to the URL) and then reviewing what is absolutely needed and considering not using plugins that add (a lot) of non-essential JS.
hope this helps,
frank
Thanks, so basically I should remove unimportant / unused plugins right? Also should I clear Autoptimize cache sometimes? It does not grow at all after I disabled inline jss, max 50 mb. What happens if I never clear it. Should I do it sometimes?
Thanks, so basically I should remove unimportant / unused plugins right?
correct
Also should I clear Autoptimize cache sometimes? It does not grow at all after I disabled inline jss, max 50 mb. What happens if I never clear it. Should I do it sometimes?
not very important; if CSS or JS changes AO will automatically create new cached files, but as long as size is that low there is no need to purge it really. I do it 1 or 2 times a year maybe 🙂