Robust Plugin for JS Minification
-
I switched to this plugin after having issues with JS minification in W3 Total Cache. Right now I’m just using it for JS because it doesn’t have an option to minify CSS and insert it directly at the end of the HTML page.
It works great for JS. It’s robust and light but gives you advanced options like the ability to reorder the JS files before combination, and choose individually what you want to do with en-queued files. My JS files are sensitive to the order they get minified in, so I was having issues with other plugins until I found this one and experimented with the sequence until I got them to work.
You can put minified JS files in the header, footer, leave in the current position, and not minify each one. The old version installed required finding the script handle for each file to do this, but the new one populates them automatically–a big time saver.
The only thing I wish this plugin had was the ability to add
async
when it inserts the script. Right now I’m hackingclass-bwp-minify.php
to do that in between updates. The authors are so responsive, I’m sure they’ll add that soon. Thanks!
- The topic ‘Robust Plugin for JS Minification’ is closed to new replies.