2 ms·
Also minifying code seems like a no brainer for someone developing a web app.
by rimunroe 1y ago
Also minifying code seems like a no brainer for someone developing a web app.
- hu3 1y agoIs it? Bootstrap CSS: 147KB Bootstrap CSS Minified: 122KB Bootstrap CSS GZipped: 22KB Bootstrap CSS GZipped and Minified: 20KB I'm not convinved 10% is worth adding a minifier. And I ask this question for every build tool in my projects. source: https://css-tricks.com/the-difference-between-minification-and-gzipping/#aa-an-example https://css-tricks.com/the-difference-between-minification-a...
- rimunroe 1y agoCSS minifies quite poorly compared to JavaScript. JavaScript generally minifies quite well (I've seen savings as high as 85%). The minifier can mangle variable and function names as much as it wants with no effect on behavior as well as do automatic dead code elimination and constant expression evaluation. CSS does not compress nearly as easily because the minifier is much more limited in what it can compress (mostly formatting).