Live data from Hacker News

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

endtimes.dev

191–200 of 356 posts

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

#191

Earlier quoted context omitted.

The website usage on the client side is more to do with resource usage. Unnecessary usage of Javascript is often what makes websites laggy. You computer will normally down-clock (you can turn this off in the bios) when under lighter loads.The difference between a JS-free webpage and a bloated web page that uses multiple JavaScript with extra Javascript for ads and tracking could be around 10W/H to 40W/H on Desktops.

I agree with this. I was disagreeing with the statement > Bandwidth is extremely carbon intensive. and the reasoning that supports that statement.

If people used less bandwidth, less new equipment would be bought to serve the increasing demand. Less bandwidth = Less carbon.

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

#192

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!

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

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

#193
post #95

I wonder if anyone has studied the impact of latency on user behavior while considering the impact of user expectations from their typical connection speed. Whenever I see an article about page speed optimization, the assumption is that a user will give up if a page takes too long to load, ans that everyone gives up after X seconds. Usually X is about 7s based on a Nielson article from years and years ago. The thing…

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…

Page / ad impressions is another metric for google; that's one reason why they have made such big improvements in the speed of internet and browsing with Chrome, their own DNS, HTTP/2 and 3, etc; the reasoning being that the faster people can browse, the more ads they will see, the more revenue Google gets. And it bought them a lot of goodwill.

But this may apply on a smaller scale too. For Amazon, it's giving people less time to rethink their impulsive decision.

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

#195
post #95

I wonder if anyone has studied the impact of latency on user behavior while considering the impact of user expectations from their typical connection speed. Whenever I see an article about page speed optimization, the assumption is that a user will give up if a page takes too long to load, ans that everyone gives up after X seconds. Usually X is about 7s based on a Nielson article from years and years ago. The thing…

At one of my recent jobs (EU-wide consumer healtech) we managed to reduce bounce rate by addressing a number of issues indicated by DevTools, mostly focusing on time to render and time to interact. It indeed positively impacted conversion and I guess this is a common knowledge among marketing teams by now, that this works.

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

#196

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

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!

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

#197
This is to minimize the round trips, I think a saner solution is have content served from many edge locations nearer the user so the impact of a roundtrip is so much less. Consumers and business users definitely want jazzy websites and 14kb is not able to do much.

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

#198
post #138

Another optimization in the same vein: make sure the first KB contains the element, to avoid false-starts in the HTML parser. In fact, it's actually specified as an _error_ in the spec to have it come after 1KB! It'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 befor…

> Of course, in the headers is even better.

Yes, much better. And given prevalence of UTF-8 this days, why not just hard-code your webserver to add such header everywhere:

- Apache

  
    
      AddDefaultCharset utf-8
        ...
- nginx

  http {
        charset utf-8;
        ...

- Caddy: done already with no explicit config required, yay!

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

#200
post #95

I wonder if anyone has studied the impact of latency on user behavior while considering the impact of user expectations from their typical connection speed. Whenever I see an article about page speed optimization, the assumption is that a user will give up if a page takes too long to load, ans that everyone gives up after X seconds. Usually X is about 7s based on a Nielson article from years and years ago. The thing…

See https://wpostats.com/ which lists known conversion metrics improvements. There are pages upon pages of them.
Post reply on HN