Hacker News new | ask | show | jobs
by njr123 4650 days ago
In my experience minified js is 30-40% smaller, which can make a pretty significant difference in terms of load time. The debugging argument doesn't really make sense to me, since the code should only be minified in production anyway.

Still, in the case of a browser extension it wouldn't really make a difference since the files are coming from the disk.

1 comments

If we're discussing serving it to the browser, just use gzip and get the same size savings without any of the minification!
IIRC you can get slightly more gain with a very aggressive minimizer and gzip than gzip alone.

It's completely pointless for a browser extension though.