Hacker News new | ask | show | jobs
by twolfson 3727 days ago
Strange my numbers vary from yours. In their latest commit the minified content in their dist is 9.3kb as is and 3.2kb after gzip

https://github.com/kenwheeler/cash/blob/3cb498ca7c5776b8cadc...

curl https://rawgit.com/kenwheeler/cash/3cb498ca7c5776b8cadcce588... | wc -c # 9282

curl https://rawgit.com/kenwheeler/cash/3cb498ca7c5776b8cadcce588... | gzip | wc -c # 3225

2 comments

I downloaded their cdn version: https://cdn.jsdelivr.net/cash/1.0.0/cash.min.js
I did not know you could pipe to gzip... That's awesome!