2 ms·
I find your comment on "tightening up" before page compression interesting as I'd never heard that logic before, not discounting it though. Does doing minificat
by ecubed 15y ago
I find your comment on "tightening up" before page compression interesting as I'd never heard that logic before, not discounting it though. Does doing minification before compression schemes such as mod_gzip or mod_deflate really not make much of a difference? I'd be interested in seeing a side by side comparison when put in this context.
- sc68cal 15y agoThe simplest and biggest space saver that minification does is remove excess whitespace and newlines. Compression schemes do the exact same thing, as well as compress all the other characters used in the source. Yes, the browser will have to decompress and the whitespaces will be included in the parsing step for the javascript engine, but at this point we're deep in the weeds. The biggest driver of speed for web pages is the network.