Hacker News new | ask | show | jobs
by SaturateDK 3037 days ago
30KB? That's a lot, this is not minified and Gzip'ed is it?
1 comments

Well, I just opened the script in firefox and checked the network tab in the dev console. It's 26KB gzip and 31KB after decompression.

Which, IMO isn't too bad, I keep my pages under 100KB. If I throw out a picture for an older project, I can easily get back those 30KB to stay under 100KB.

stimulus.umd.js is ~5.3KB gzip'd
>It's 26KB gzip and 31KB after decompression.

Yeah so no. There is no way gzip could only compress 16% of utf8 data.

As another comment mentions, there is a gzip'd variant available that comes under 6 KB.