News for hackers. Stuff that matters.
Re:Median webpage size was 2.3 MB in July by KronisLV on Thursday August 25, 2022 @04:57AM (#32591278)
Hmm, even my personal website hovers around 1 MB per page (though with resources being cached, it's more like 50 KB per page), it's definitely easy for page sizes to creep up on you when you're not paying too much attention.

That said, about 100 KB of that is the Material Icons font (given that I started making it with an older library that still used icon fonts) which doesn't really compress at all, since the whole site with no caching but compression means transferring over just around 300 KB, almost half of which is the fonts.

But if you wanted to make a minimalist page with web-safe fonts, minimal interactivity and simple styling? I bet you could get decent results, along the lines of this (some profanity on the page): https://motherfuckingwebsite.com/ (or one of the dozens of other sites, that gradually add more styling and other elements)

However, once you add any of the larger popular frameworks/libraries to your project, the actual app sizes can grow by quite a bit, for example the most comprehensive comparison that I can find (from 2020) being: https://medium.com/dailyjs/a-realworld-comparison-of-front-e...

Many would say that it's definitely worth it, given how any of these frameworks can make development a bit more easier/structured, though I doubt everyone would necessarily agree (e.g. the complexity of Angular and even React, as well as the fast pace at which they evolve and change).

Re:Median webpage size was 2.3 MB in July by jesse_faden on Thursday August 25, 2022 @05:02AM (#32591300)