Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
cunthorpe
· 4y ago · 0 comments
Wrong. Of course if you use a minifier you save bytes, it’s by definition. A decent built tool can still start from static files but also optimize them as much as possible. If there’s little CSS it might even just inline it.
Comments
[–]
theandrewbailey
4y ago
After gzip, minified vs. hand written code size is negligible. You are gzipping your HTML, CSS, and JS, right?
[–]
hobofan
4y ago
gzip? What year is it? 2014? You better brotli your stuff!
[–]
cryptonym
4y ago
A properly minified JS might be smaller after compression, even if the difference is not huge, but it may also be faster to parse.