logoalt Hacker News

unglaublich • 11/04/2025 • 5 replies • view on HN

Building a sub 512KB website is trivial.

Just don't use external trackers, ads, fonts, videos.

Building a sub 512KB website that satisfies all departments of a company of non-trivial size; that is hard.


Replies

bilekas • 11/04/2025

> Building a sub 512KB website is trivial.

Even for larger sites, it can be trivial, but I prefer to look at it from a non SPA/state-mgmt point of view.

Not every site needs to be an SPA. Or even a 'react app'. I visit a page, record your metrics on the backend for all I care, you have the request headers etc, just send me the data I need, nothing else.

It doesn't have to be ugly or even lacking some flair, 500KB is a lot of text. Per page request, with ootb browser caching, there's no excuse. People have forgotten that's all you need.

> People have forgotten that's all you need.

Edit : No they havent, they just can't monetize optimizations.

➕ show 1 reply
benchly • 11/04/2025

I thought that too assumed my blog fit the criteria. I was wrong; weighed in at just over 100KB too heavy to get in the club.

My guess is the photos.

➕ show 5 replies
snovv_crash • 11/04/2025

Literally yesterday there were people defending 15MB websites:

https://news.ycombinator.com/item?id=45798681

cnnlives73 • 11/05/2025

> Building a sub 512KB website that satisfies all departments of a company of non-trivial size; that is hard.

I’m all for minimalism and have a much lower target than 512KB for some of my work. But I think the goal of having the entire site in 512KB is a little strange; someone might have a 511KB SaaS SPA app while others struggle to have 51 10KB pages. That’s not the same.

zahlman • 11/04/2025

> Building a sub 512KB website that satisfies all departments of a company of non-trivial size; that is hard.

And yet tons of personal blogs likely weigh in well over that mark, despite having no requirements beyond personally imposed ideas about how to share information with the world.

> Just don't use external trackers, ads, fonts, videos.

The Internet is likely full of "hero" images that weigh more than 512KB by themselves. For that matter, `bootstrap.min.css` + `bootstrap.min.js` is over half of that budget already.

Not that people need those things, either. But many have forgotten how to do without. (Or maybe bilekas is right; but I like the idea of making things small because of my aesthetic sense. I don't need a financial incentive for that. One of these days I should really figure out what I actually need for my own blog....)