Hacker News new | ask | show | jobs
by sirtimbly 1763 days ago
A 225K gzipped .wasm file download for a client-side state management and persisistence layer is not great. It is competitive with some similar solutions, but still a lot for any web app's performance budget
2 comments

0.2MB seems fine for a fully featured web app. Loading up the average website today typically loads tens of MB for an index page.
The release build is 100k brotli I believe. It’s possible this site is using the dev binary.
It uses the production binary, originally 604.59 KB and after brotli (Vercel uses brotli by default) 213.90 KB.
Ah, when I brotli compress it locally, it's 188 (which is where I remembered 100 from) but I guess it uses different settings than the auto-brotli in Vercel.