Live data from Hacker News

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

endtimes.dev

341–350 of 356 posts

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

#341
post #39

That'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…

Even for media focused websites, this 14KB rule is probably still worth following. Not for the whole web page, obviously. But you should still be aiming to maximize the impact of that first 14KB. Ideally you want to deliver enough for the first layout and paint, so that someone can quickly see the frame of the webpage and then you want to minimize the amount of visual changes caused by subsequent data. Ideally the fi…

Even if not media focused, Is 14KB possible with modern web JavaScript frameworks? Asking as someone who builds only text focused web applications with very little vanilla JavaScript if absolutely necessary.

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

#342

Earlier quoted context omitted.

I’m from Philippines I wonder what your e-commerce does. But I agree there is no decent web hosting here.

We sell fine food (bowtieduck.com ). Saw you are from Cebu we just opened deliveries there ;) and yes web hosting is weird and super expensive here.

Nice site. I am also in a similar position, now rewriting our website to make it modern and fast. Like your site that its snappy, but found something odd.

Delivery in 78 years [1,2]

[1] https://bowtieduck.com/traditional/kurimu-x-the-bow-tie-duck...

[2] https://ibb.co/W5B50d8

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

#343

Earlier quoted context omitted.

Yup the speed was refreshing, refreshing from all the dumb news sites which take for ever to load.

Yeah, fast loading news sites are few. Here is a list to show how bad (and sometimes good) they get: https://webperf.xyz/ I maintain this so let me know if any news sites I should add!

https://nltimes.nl

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

#344
post #305

Earlier quoted context omitted.

Funny you mention those because the line above automatically adds all those for you including https redir for all your vhosts.

The biggest thing you miss is that nginx doesn't do all this for you, you have to install a 3rd party thing to manage it. If we allow your example, then caddy wins hands down because it also makes me rich because it fronts the websites that make me money. But that would be ridiculous thing to claim Caddy does, because it doesn't do that itself.

While I understand your point, installing certbot isn't onerous at all and this is a strange thing to be arguing about.

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

#346

Earlier quoted context omitted.

most satellite internet users won’t give up just because your page is slow My point is that 'slow' is a relative measure against other websites, not an objective value. So long as your website is faster than a typical website then users won't give up. Trying to be faster than average is worthwhile, but trying to be as fast as possible might not bring any additional value. It's also possible (likely, in my opinion) th…

This is a complex problem that probably doesn't have a straightforward answer. Using the mantra 'make your website as fast as possible' means you won't get it wrong, so it's worth doing, but you almost certainly get diminishing returns for that effort as you optimize for things like shaving off milliseconds and bytes. Yeah, that's fair. My point (really just repeating hearsay -- I should check that Google research st…

Might be a competition thing. It would take a big delta in time-to-load for me to switch from Google to Bing. But if wsj.com takes 1s more than cnn.com maybe next time I pull out my phone on the train I'll switch publications.

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

#347

Earlier quoted context omitted.

I’m from Philippines I wonder what your e-commerce does. But I agree there is no decent web hosting here.

We sell fine food (bowtieduck.com ). Saw you are from Cebu we just opened deliveries there ;) and yes web hosting is weird and super expensive here.

Nice! Gonna look up your site. I only tried duck once and I don’t like it.

Edit: So it turns out it is not duck you’re selling.

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

#348

Earlier quoted context omitted.

I don’t have a citation handy, but this is something that Google has famously studied. They claimed years ago that a tiny increase in the loading time of the Google home page led to a measurable decrease in the number of searches (like, a few percent). Not everyone is operating “at Google scale”, of course, but in aggregate the effect is real and faster-loading pages have better metrics. So, most satellite internet u…

most satellite internet users won’t give up just because your page is slow My point is that 'slow' is a relative measure against other websites, not an objective value. So long as your website is faster than a typical website then users won't give up. Trying to be faster than average is worthwhile, but trying to be as fast as possible might not bring any additional value. It's also possible (likely, in my opinion) th…

>My point is that 'slow' is a relative measure against other websites, not an objective value. So long as your website is faster than a typical website then users won't give up.

You're competing against more than other web sites, and data shows this isn't true at all in any case. There are certain "thresholds" beyond which users will stop visiting much more frequently, but yeah.

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

#349
post #169

Love how this person's blog itself consist of single HTTP requests per page load. No extra css, images, scripts, or anything! This blogger cares about web perf!

And that single HTTP request is 9.5Kb in size. The guy seems to be practicing what he preaches!

I am extremely impressed by this. I probably wouldn't have noticed if not for these comments, but the page loads in ~36 ms for me. That's blazingly fast.

(Edit: it's 36 ms with a connection already open. From scratch, it's about 176 ms, still extremely impressive.)

Post reply on HN