Aside from latency, reducing ressources consumption to the minimum required should always be a concern if we intend to have a sustainable future. The environmental impact of our network is not negligible. Given the snarky comments here, we clearly have a long way to go. EDIT: some reply missed my point, I am not claiming this particular optimization is the holy grail, only that I'd have liked for added benefit of red…
Being concerned about page sizes is 100% wasted effort. Calculate how much electricity you personally consume in total browsing the Internet for a year. Multiply that by 10 to be safe. Then compare that number to how much energy it takes to produce a single hamburger. Do the calculation yourself if you do not believe me. On average, we developers can make a bigger difference by choosing to eat salad one day instead o…
A 14kb page can load much faster than a 15kb page (2022)
301–310 of 324 posts
Re: A 14kb page can load much faster than a 15kb page (2022)
#302Software developer’s should be more aware of the media layer . I appreciate the author’s post about 3g /5g reliability and latency. Radio almost always retries, and with most HTTP your packets need to arrive in order. A single REST request is only truly a single packet if the request and response are both For practical experiments, try chrome dev tools in 3g mode with some packet loss and you can see even “small” opt…
Re: A 14kb page can load much faster than a 15kb page (2022)
#303Earlier quoted context omitted.
You don't need to eat burgers though. You can eat food that consumes a small fraction of energy, calorie, land, and animal input of a burger. And we go to McDonalds because it's a dopamine luxury. It's just an inconvenient truth for people who only care about the environmental impact of things that don't require a behavior change on their part. And that reveals an insincere, performative, scoldy aspect of their posit…
Sure, but beef tastes good. I mean.. there are better ways to eat beef than mixed with soy at mcdonalds, but still... What benefit does an individual get from downloading tens of megabytes of useless data to get ~5kB of useful data in an article? It wastes download time, bandwidth, users time (having to close the autoplaying ad), power/battery, etc.
One could say the same for js libraries, Tailwind and shiny imaged on the web.
Beans also taste good, so does minimal web page.
Re: A 14kb page can load much faster than a 15kb page (2022)
#304Earlier quoted context omitted.
Yeah, the fact that news.ycombinator.com loads instantly pleases my brain so much I flick it open during downtime automonkey-ly
Lobsters, Dlangs forum and HN is one of the few places I know that loads instantly, I love it. This is how it should be like!
Re: A 14kb page can load much faster than a 15kb page (2022)
#305Re: A 14kb page can load much faster than a 15kb page (2022)
#306Earlier quoted context omitted.
Well, half of a second is a small difference. So yeah, there will probably be better things to work on up to the point when you have people working exclusively on your site. > This is why almost all applications and websites are slow and terrible these days. But no, there are way more things broken on the web than lack of overoptimization.
"More than 10 years ago, Amazon found that every 100ms of latency cost them 1% in sales. In 2006, Google found an extra .5 seconds in search page generation time dropped traffic by 20%."
Re: A 14kb page can load much faster than a 15kb page (2022)
#307Earlier quoted context omitted.
This. It's exactly why Microsoft use modern frameworks such as React Native for their Start Menu used by billions of people every day.
And this is why SteamOS is absolutely kicking Windows’ ass on handhelds.
Re: A 14kb page can load much faster than a 15kb page (2022)
#308Earlier quoted context omitted.
The decision to use react for the start menu wasnt out of competency. The guy said on twitter that thats what he knew so he used it [1]. Didnt think twice. Head empty no thoughts 1 https://x.com/philtrem22/status/1927161666732523596
That tweet is fake, and as repeatedly stated by Microsoft engineers, the start menu is written in C# of course, the only part using React native is a promotion widget within the start menu. While even that is a strange move, all the rest is just FUD spread via social media.
It is funny how quickly this became normalized. During Vista time everyone was absolutely shitting on awful performance, now that PCs became faster it is apparently fine to use one dog ass slow managed language (C#) over another (JS with RN).
Even though RN for Windows is just a thin wrapper over WinRT, but who gives a shit, right? Because JSLOLLOLOL.
Re: A 14kb page can load much faster than a 15kb page (2022)
#309I just checked my home page [1] and it has a compressed transfer size of 7.0 kB. / 2.7 kB main.css 2.5 kB favicon.png 1.8 kB ------------------- Total 7.0 kB Not bad, I think! I generate the blog listing on the home page (as well as the rest of my website) with my own static site generator, written in Common Lisp [2]. On a limited number of mathematical posts [3], I use KaTeX with client-side rendering. On such pages…
Not trying to discourage you from adopting better solutions, but the delayed client-side rendering of a dynamic component like a Latex expression is almost (or sometimes literally) imperceptible to the averge user. There is such a thing as over-optimization. All this SEO-driven performance chasing is really only worthwhile if the thing you're building is getting click-through-traffic in the millions of views. It's a…
Re: A 14kb page can load much faster than a 15kb page (2022)
#310Earlier quoted context omitted.
And this is why SteamOS is absolutely kicking Windows’ ass on handhelds.
Why? Because they use web based UI that is even worse than RN, according to church of native fanatics?
2GB is not good news. That’s evidence that they did not give two shits about mobile before the bad press.