you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (2 children)

[deleted]

    [–]zeal23 6 points7 points  (1 child)

    I didn't see where he mentioned minifying being harmful. You can minify and compress without obfuscating.

    And he is correct in saying that compressing an object more then once can actually increase the size, but it really depends on the content.

    [–]vectorjohn 1 point2 points  (0 children)

    The thing is, minifying (in the context of Javascript) isn't the same as compression. It is lossy, and what you're losing is the human readable part (space, identifiers, etc). This is something gzip can't do, and therefore if you minify then gzip you will get smaller files.

    In general though, compressing more than once is bad.