Confirming the benefits of Javascript minification
1 min readJul 24, 2018
Originally published 24th May, 2013
I was skeptical of the benefits of minification when you’re gzipping at serve-time anyway. I know you’re always going to save _something_, but I didn’t think it would be enough to be worth the effort.
So ran a brief test using jQuery as the source.
Results:
64 jquery.1.9.1.min.js.gz
160 jquery.1.9.1.js.gz
184 jquery.1.9.1.min.js
528 jquery.1.9.1.js
So yeah it’s worth it. On jQuery at least, you more than halve the size.