Presumably the 40mb of data is not from Wikipedia, but the Javascript tracking code bundle needed to turn it into a doomscrollable social media feed. ;) By those standards, I think it’s pretty lightweight! For comparison, the Instagram iOS app is 468.9mb, more than ten times the size…
The 40MB of data is Wikipedia data, the site itself is 21kB.
40mb is way too much for a JS bundle... Even with a framework you could do this with 5mb or less.
> you could do this with 5mb or less
How quick the times change... Back in my days, we put the limit on bundles being maximum 1MB, and it felt large even then.
Don't get me wrong. 5mb is a lot for this, yes. This app, coded with love and interest could easily be made under 1mb.
This app IS made in under 1mb. The entire app, including all the assets minus all the actual Wikipedia data, is 21kB (no minification or compression). And all of it is in a single html file with human-readable code.
Interesting. I haven't investigated, so I don't know where the 40mb comes from.
It's JSON.
Now imagine how big the builds are for Instagram's server side doomscrollable feed algorithm, given their inverse incentives to this project.