top | item 22079916

(no title)

nej | 6 years ago

Reviewing the frontend code, a couple of things stand out.

1) The HTML/CSS code isn't minified.

2) The PNG images can be compressed further (lossless) for extra savings.

3) CSS classes/ids could be further shortened in post-processing.

discuss

order

corobo|6 years ago

Does HTML ever need minifying? Serving using compression would handle it wouldn’t it?

curben|6 years ago

html minifer mostly just remove the whitespaces. Compression (gzip or brotli) preserves the source, i.e. decompressed file is exactly the same as the original's; whereas minifier alters the source.