A 14kb page can load much faster than a 15kb page
131–140 of 356 posts
Re: A 14kb page can load much faster than a 15kb page
#132That's only doable with a text-centric website. I'm currently finishing a photography section for my personal website, and the gallery pages are several hundred kBs in size, while single photo page is almost 1MB in size (provided you load it on a 28" screen; browser will load smaller variants on smaller screens). Most of that weight is the thumbnails (and almost-full-size photo in the latter case). The only JS I have…
I would like to improve, but I feel like the fonts are essential for the look and feel, so I'm not willing to give up the fonts, so I guess the ~200kB is the lower limit for me.
(Of course, the fonts are cached on the next page load, so my site does load very fast after opening the first article. Only thing that bothers me is the layout jump-around due to font
Re: A 14kb page can load much faster than a 15kb page
#133Earlier quoted context omitted.
Is there number, data, lab test session that proves it's worthwhile ? I sometime feel like these are all KPI detached from conversion but since it can be measured we do measure it.
that's what this blog post is about isn't it?
edit: No, it's not. It deals with TCP window but in no way does it deal with customers conversion, retention rates and all those things.
Re: A 14kb page can load much faster than a 15kb page
#134That's only doable with a text-centric website. I'm currently finishing a photography section for my personal website, and the gallery pages are several hundred kBs in size, while single photo page is almost 1MB in size (provided you load it on a 28" screen; browser will load smaller variants on smaller screens). Most of that weight is the thumbnails (and almost-full-size photo in the latter case). The only JS I have…
Once JPEG XL is widely supported those photos could be significantly smaller.
Re: A 14kb page can load much faster than a 15kb page
#135FWIW, the HN frontpage is 33kB. It's one of the better performing websites I frequent.
It's only 8kB compressed.
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.
Re: A 14kb page can load much faster than a 15kb page
#136(Shameless self plug: https://anonyfox.com/blog/need-for-speed/ )
Re: A 14kb page can load much faster than a 15kb page
#137 Once you lose the autoplaying videos, the popups, the cookies, the cookie consent banners, the social network buttons, the tracking scripts, javascript and css frameworks, and all the other junk nobody likes — you're probably there.
Wouldn't videos and images (I guess css/js files as well?) loaded separately and be part of other messages?Re: A 14kb page can load much faster than a 15kb page
#138It's mentioned in passing on the Lighthouse docs for the charset audit[1], but here's a great breakdown by hsivonen[2].
Of course, in the headers is even better. Point is, try not to have too much cruft before the charset.
[2] https://github.com/GoogleChrome/lighthouse/issues/10023#issu...
Re: A 14kb page can load much faster than a 15kb page
#139FWIW, the HN frontpage is 33kB. It's one of the better performing websites I frequent.
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.