Exclude scripts from Autoptimize not working
-
Hi,
I’m very satisfied with Autoptimize. Recently I started to check how many different css and js files were in use and I saw one css file for any page/post on my site and three different js files. The differences between the js files were tiny and were because of two small js files being added to some pages. I have added them (coma-separated) to the option “Exclude scripts from Autoptimize:”, but it didn’t have any effect – they are still aggregated.
My options for js are:
optimize js code: yes
aggregate: yes
aggregate inline: no
force js in head: no
exclude scripts: mediaelement-and-player.min.js,wp-mediaelement.min.js,comment-reply.min.js,top-10-tracker.js
add try-catch: nothe scripts comment-reply.min.js and top-10-tracker.js still are aggregated and I can’t get rid of them.
I think it will be better for my site to use just one autoptimized js for everything with just 2 extra files added (when they are needed).
Any thoughts of that? Thank you one more time for such a great plugin!
The page I need help with: [log in to see the link]
- The topic ‘Exclude scripts from Autoptimize not working’ is closed to new replies.