Live data from Hacker News

A 14kb page can load much faster than a 15kb page

endtimes.dev

11–20 of 356 posts

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

#13
post #10

I'm getting 62 bytes over the network and 31.4 kilobytes uncompressed. This page has more content than most pages I visit that are megabytes in size. I wish there was an incentive to go back to smaller web pages in general.

62 bytes is surely not right :) I see your 31.4kb uncompressed, but 9.6kb over the wire.

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

#15
Honestly, "should" is a bit of a click-baity exaggeration. In this day and age where internet speeds are faster and more stable than ever, these kinds of tips should be at the very bottom of your optimisations checklist. I don't care if your website takes 3 seconds to load or 5, what I do care about is that once the website has loaded, my inputs respond as quickly as possible. Reddit for example is total garbage when it comes to responsiveness, clicking on a post literally freezes the page for 1+ seconds on a fairly capable PC.

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

#16
Shameless self-promotion: the homepage of plaintextsports.com is 5.2kb today [1], an in-progress WNBA game (4th quarter) is 11.2kb [2], and an extra inning MLB game is 8.8kb [3]. I wasn't aware of this size threshold, and I'm not at this level of optimization, but I'm always pleased to find more evidence of my playful claim that it's the "fastest website in the history of the internet".

[1]: https://plaintextsports.com/all/2022-08-24/

[2]: https://plaintextsports.com/wnba/2022-08-24/conn-dal

[3]: https://plaintextsports.com/mlb/2022-08-24/laa-tb

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

#17
> There is an idea that the 14kb rule no longer holds true when using HTTP/2. I've read all I can about this without boring myself to death — but I haven't seen any evidence that servers using HTTP/2 have stopped using TCP slow start beginning with 10 packets.

HTTP/3 formally replaces TCP with QUIC.[0] Google have been using QUIC in production for quite a while (since 2013!) and it’s enabled by default in every browser except Safari[1] so it’s understandable how there could be some confusion here.

[0] https://datatracker.ietf.org/doc/html/rfc9114

[1] https://caniuse.com/http3

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

#20
post #17

> There is an idea that the 14kb rule no longer holds true when using HTTP/2. I've read all I can about this without boring myself to death — but I haven't seen any evidence that servers using HTTP/2 have stopped using TCP slow start beginning with 10 packets. HTTP/3 formally replaces TCP with QUIC.[0] Google have been using QUIC in production for quite a while (since 2013!) and it’s enabled by default in every brows…

Doesn't QUIC have some version of it? I assume it still needs to implement congestion control on top of UDP

EDIT: yep, as posted above: https://news.ycombinator.com/item?id=32588850

Post reply on HN