That’s the inline javascript when not aggregated quyle. You _could_ tick that option, but you’ll have to keep an eye on cache size (which is why it’s off by default).
As for your 2nd question: Autoptimize does have a cache clear function (both in the top menu bar and on the settings page itself), but AO does not do page caching, so I strongly recommend a page caching plugin to be installed (e.g. KeyCDN Cache Enalber or WP Super Cache or WPFC indeed if you have that already).
hope this clarifies,
frank
Thread Starter
quyle
(@quyle)
That’s the inline javascript when not aggregated quyle.
Thank you for your reply!
As shown in the screenshot, I think I have aggregated all of necessary JS files.
My cache file is only 4KB when enabling Also aggregate inline JS? option. Is that an acceptable amount?
Also, when I test a random blog post, GT MEtrix shows Minify JavaScript and CSS score of 70. Here: http://prntscr.com/s5612z (but the home page score still 0).
Any thought?
Thank you very much!
ah, but some inline JS cannot be aggregated by AO at all, guess that’s what’s happening. wouldn’t worry about that too much to be honest, this would at a maximum have a couple of microseconds impact 🙂
Thread Starter
quyle
(@quyle)
Thanks for your reply but I am still not clear why “Minify JavaScript and CSS” score at my home page totally different from post page (0 vs 60) ? 😀
Here: http://prntscr.com/s5kogd
http://prntscr.com/s5kokb
well, what do you see when you click on the little triangle in the 2nd screenshot? I suppose there will be less inline tags? 🙂
Thread Starter
quyle
(@quyle)
Hi,
Thank you for your reply :d
One thing I am not clear about cache size is in the WP dashboard, at the top it shows cache size is 47.25M (http://prntscr.com/s638op), but when I checked it in my Files, it only shows 4KB (http://prntscr.com/s6391m)
Do you know why is that?
Thank you and best regards!
check the subdirectories of cache/autoptimize, you’ll see a js and a css directory that will I’m pretty sure have more then a couple of files in them 😉