Live data from Hacker News

A 14kb page can load much faster than a 15kb page (2022)

endtimes.dev

11–20 of 324 posts

Re: A 14kb page can load much faster than a 15kb page (2022)

#12
post #2

Fortunately, most websites include megabytes of bullshit, so it's not remotely a concern for them :D.

I recently used an electric car charger where the charger is controlled by a mobile app that's basically a thin wrapper over a website. Unfortunately I only had a 0.25 Mb/s Internet plan at the time and it took me several minutes just staring at the splash screen as it was downloading JavaScript and other assets. Even when I got it to load, it hadn't managed to download all fonts. Truly an eye-opening experience.

Re: A 14kb page can load much faster than a 15kb page (2022)

#14
post #12
post #2

Fortunately, most websites include megabytes of bullshit, so it's not remotely a concern for them :D.

I recently used an electric car charger where the charger is controlled by a mobile app that's basically a thin wrapper over a website. Unfortunately I only had a 0.25 Mb/s Internet plan at the time and it took me several minutes just staring at the splash screen as it was downloading JavaScript and other assets. Even when I got it to load, it hadn't managed to download all fonts. Truly an eye-opening experience.

Why can't we just pay with a payment card at electric chargers? Drives me insane.

Re: A 14kb page can load much faster than a 15kb page (2022)

#17
post #8
post #4

I’d care about this if I was selling in India or Africa. If I’m selling to cash cows in America or Europe it’s not an issue at all. As long as you have >10mbps download across 90% of users I think it’s better to think about making money. Besides if you don’t know that lazy loading exists in 2025 fire yourself lol.

I think you’d be surprised to learn that Indian mobile speeds are pretty fast, at 133 mbps median. Ranked 26th in the world ( https://www.speedtest.net/global-index#mobile ).

And in the last few years, access has grown tremendously, a big part of which has been Jio's aggressive push with ultra-cheap plans.

Re: A 14kb page can load much faster than a 15kb page (2022)

#18
post #10

Aside from latency, reducing ressources consumption to the minimum required should always be a concern if we intend to have a sustainable future. The environmental impact of our network is not negligible. Given the snarky comments here, we clearly have a long way to go. EDIT: some reply missed my point, I am not claiming this particular optimization is the holy grail, only that I'd have liked for added benefit of red…

It's not low-hanging fruit, though. While you try to optimise to save a couple of mWh in power use, a single search engine query uses 100x more and an LLM chat is another 100x of that. In other words: there's bigger fish to fry. Plus caching, lazy loading etc. mitigates most of this anyway.

Re: A 14kb page can load much faster than a 15kb page (2022)

#19
post #6
post #4

I’d care about this if I was selling in India or Africa. If I’m selling to cash cows in America or Europe it’s not an issue at all. As long as you have >10mbps download across 90% of users I think it’s better to think about making money. Besides if you don’t know that lazy loading exists in 2025 fire yourself lol.

It really depends on who your clients are and where they are. https://www.mcmaster.com/ was found last year to be doing some real magic to make it load literally as fast as possible for the crapiest computers possible.

The site is very fast indeed

Re: A 14kb page can load much faster than a 15kb page (2022)

#20
If you want to have fun with this: the initial window (IW) is determined by the sender. So you can configure your server to the right number of packets for your website. It would look something like:

    ip route change default via  dev  initcwnd 20 initrwnd 20
A web search suggests CDNs are now at 30 packets for the initial window, so you get 45kb there.
Post reply on HN