Years ago, I was staunchly in the “minify your code, even if you use gzip” camp. But these days, I’ve switched teams!
I did some tests on the bundled version of Kelp UI.
- Unminifed: 58.2kb
- Minified: 43kb
- Unminified + gzipped: 8.2kb
- Minified + gzipped: 7.4kb
I don’t think making your code unreadable for humans and harder to debug is worth saving 0.8kb of file size.
Both versions are far less than a single HTTP round trip. The performance difference between the two would be negligible.