3 ms·
That's all fine and dandy, but minify + gzip is usually significantly better than gzip alone (for javascript and css, at least).
by mistercow 14y ago
That's all fine and dandy, but minify + gzip is usually significantly better than gzip alone (for javascript and css, at least).
- cheald 14y agoQuantify "significantly". There's a gain, but whitespace compresses Really Damn Well.
- mistercow 14y agoMinifiers don't just remove whitespace. Eliminating comments, for example, can save a lot (although it seems that most HTML out there is poorly commented in the first place). A smart minifier can also drop optional closing tags like </li> for a bit more gain (although I don't know of a minifier that does).