Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

FWIW, the HN frontpage is 33kB. It's one of the better performing websites I frequent.


It's only 8kB compressed.


A 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.


Favivon 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.


> 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.


That's a fair point.


It needs to get faster. Soon!


What are you planning?


I've been working on an implementation of Arc in SBCL which is much faster and also will easily let HN run on multiple cores. It's been in the works for years, mainly because I rarely find time to work on it, but it's all pretty close to done.


Yeah, 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.


Even on mobile I will 'fix' the Reddit URL by applying the old.* subdomain. Works great!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: