Re:Ask HN: Why do we minify JavaScript, yet not HTML?
by mistercow on Monday December 03, 2012 @12:11AM
(#4864064)
Minifiers 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).
[ Parent
| on HN ]
There are no comments on this comment yet.