Get the latest tech news
My failed attempt to shrink all NPM packages by 5%
It seemed like a great idea at first.
I doubt many individual installs were perceptibly faster after this change…but it’s nice to do a tiny amount of work for a 5% improvement! Therefore, the npm registry and developers could save bandwidth if they compressed new (or re-compressed existing) packages with Zopfli. But I think I did an okay job making my point: npm packages could become ~5% smaller if we could figure out how to run Zopfli at publish time.
Or read this on Hacker News