4 ms·
FWIW, the HN frontpage is 33kB. It's one of the better performing websites I frequent.
by fragmede 4y ago
FWIW, the HN frontpage is 33kB. It's one of the better performing websites I frequent.
- calibas 4y agoIt's only 8kB compressed.
- ThreePinkApples 4y agoA fresh load of the page (according to Chrome) is 21.5kB transmitted, 59.1kB uncompressed. That's when loading with nothing cached. The HTML is just 7.9kB, but then the CSS is 2.2kB, JS is 2.3kB, and the favicon is 7.9kB which is a bit funny (but it's of course irrelevant for the actual page). HN could put the CSS and JS into the generated HTML file and still stay under 14kB for the initial load, which then would give you almost everything needed to render the page except a few gifs.
- bawolff 4y agoFavivon isn't blocking the initial request so it really shouldn't matter. > HN could put the CSS and JS into the generated HTML file and still stay under 14kB At the expense of caching those resources that stay static. With http/2 the benefit of merging into one resource should be negligible anyways.
- SahAssar 4y ago> With http/2 the benefit of merging into one resource should be negligible anyways. That's not true, by including them in the HTML you save an extra round trip for requesting them. That's what HTTP2 Push was supposed to solve, but it's being deprecated & removed.
- bawolff 4y agoThat's a fair point.
- dang 4y agoIt needs to get faster. Soon!
- PoignardAzur 4y agoYeah, the contrast with reddit is stunning. When I open a reddit page on mobile, I usually open it in a new tab to give the browser time to load it. When I open a HN page, it's instant.
- wildrhythms 4y agoEven on mobile I will 'fix' the Reddit URL by applying the old.* subdomain. Works great!