3 ms·
>If we wanted browsers to be fed code that for performance reasons isn't human-readable, Worth keeping in mind that "performance" here refers to saving bandwid
by Dalewyn 3y ago
>If we wanted browsers to be fed code that for performance reasons isn't human-readable,
Worth keeping in mind that "performance" here refers to saving bandwidth costs as the host. Every single unnecessary whitespace or character is a byte that didn't need to be uploaded, hence minify and save on that bandwidth and thus $$$$.
The performance difference on the browser end between original and minified source code is negligible.
- hunter2_ 3y agoI was thinking transfer speed, although even then, the difference is probably negligible if compressing regardless.
- Dalewyn 3y agoThe way I see it, if someone needs to minify their JavaShit (and HTML?! CSS?!) to improve user download times, that download time was horseshit to start with and they need to rebuild everything properly from the ground up.
- hnlmorg 3y agoLast time I ran the numbers (which admittedly was quite a number of years ago now), the difference between minified and unminified code was negligible once you factored in compression because unminified code compresses better. What really adds to the source code footprint is all of those trackers, adverts and, in a lot of cases, framework overhead.