Thread Starter
cfm168
(@cfm168)
And also how to set to minify JavaScript files? The SEO program showing a list of JavaScript files still need to be minified.
if the files are local (as opposed to 3rd party CSS/ JS) and if the filenames indicate they are not minified (e.g. jquery.min.js is considered minified, jquery.js is not considered minified) then activating “optimize CSS” and “optimize JS” will indeed minify local non-minified files.
hopes this clarifies,
frank
Thread Starter
cfm168
(@cfm168)
I already activated those two features “optimize CSS” and “optimize JS”.
These two files are not minified:
wp-includes/js/thickbox/thickbox.css
wp-includes/js/thickbox/thickbox.js
And other non minified files are related to Plugin.
Please advise how to minify them. Thanks!
you’ll likely have wp-includes/js in the JS optimization exclusion list, try removing it there but make sure to test if everything still works.
Thread Starter
cfm168
(@cfm168)
No, the exclusion list on JS and CSS are empty.
Can I delete all cache in wp-content/cache/autoptimize/?
No, the exclusion list on JS and CSS are empty.
in that case toggle the “compatibility logic” near the bottom of the main settings page.
Can I delete all cache in wp-content/cache/autoptimize/?
sure you can, but make sure to also clear any page cache(s) you might have 🙂
Thread Starter
cfm168
(@cfm168)
If enable “Disable extra compatibility logic?”, is it possible causes site down? Do I need to back up the site first?
the compatibility logic aims to prevent things breaking, so it is certainly possible that you need that compatibility logic to prevent issues, in which case you’ll have to live with those 2 files not being minified.
Thread Starter
cfm168
(@cfm168)
Just checked the “Disable extra compatibility logic?”. It seems the site get a bit faster browsing.
I will update here again about minify a week later. Thank you!