The intersectionality of web performance

Web performance is an unalloyed good. No one has ever complained that a website is too fast.

So the benefit is pretty obvious. Users like fast websites. But there are other benefits to web performance. And they don’t all get equal airtime.

Business

A lot of good web performance practices come down to the first half of Postel’s Law: be conservative in what send. Images, fonts, JavaScript …remove what you don’t need and optimise the hell out of what’s left.

That can translate to savings. If you’re paying for the bandwidth every time a hefty file is downloaded, your monthly bill could get pretty big.

So apart from the indirect business benefits of happy users converting to happy customers, there can be a real nuts’n’bolts bottom-line saving to be made by having a snappy website.

Sustainability

This is related to the cost-savings benefit. If you’re shipping less stuff down the wire, and you’re optimising what you do send, then there’s less energy required.

Whether less energy directly translates to a smaller carbon footprint depends on how the energy is being generated. If your servers are running on 100% renewable energy sources, then reducing the output of your responses won’t reduce your carbon footprint.

But there’s an energy cost at the other end too. Think of all the devices making requests to your server. If you’re making those devices work hard—by downloading, parsing, executing lots of JavaScript, for example—then you’re draining battery life. And you can’t guarantee that the battery will be replenished from renewable energy sources.

That’s why sites like the website carbon calculator have so much crossover with web performance:

From data centres to transmission networks to the billions of connected devices that we hold in our hands, it is all consuming electricity, and in turn producing carbon emissions equal to or greater than the global aviation industry. Yikes!

Inclusivity

There comes a point when a slow website isn’t just inconvenient, it’s inaccessible.

I’ve always liked the German phrase for accessible: barrierefrei—free of barriers. With every file you add to a website’s dependencies, you’re adding one more barrier. Eventually the barrier is insurmountable for people with older devices or slower internet connections. If they can no longer access your website, your website is quite literally inaccessible.

Making the case

I’ve noticed that when it comes to making the argument in favour of better web performance, people often default to the business benefits.

I get it. We’re always being told to speak the language of business. The psychology seems pretty straightforward; if you think that the people you’re trying to convince are mostly concerned with the bottom line, use the language of commerce to change their minds.

But that’s always felt reductive to me.

Sure, those people almost certainly do care about the business. Who doesn’t? But they’re also humans. I feel like if really want to convince them, speak to their hearts. Show them the bigger picture.

Eliel Saarinen said:

Always design a thing by considering it in its next larger context; a chair in a room, a room in a house, a house in an environment, an environment in a city plan.

I think the same could apply to making the case for web performance. Don’t stop at the obvious benefits. Go wider. Show the big-picture implications.

Have you published a response to this? :

Responses

8 Shares

# Shared by Baldur Bjarnason on Wednesday, May 3rd, 2023 at 1:04pm

# Shared by Sascha Diercks on Wednesday, May 3rd, 2023 at 2:07pm

# Shared by Rob Mills on Wednesday, May 3rd, 2023 at 4:14pm

# Shared by Olivier Audard on Wednesday, May 3rd, 2023 at 7:14pm

# Shared by Eric on Wednesday, May 3rd, 2023 at 7:14pm

# Shared by Arpit on Thursday, May 4th, 2023 at 2:47am

# Shared by Chris Taylor on Thursday, May 4th, 2023 at 2:44pm

# Shared by FeralRobots on Monday, May 8th, 2023 at 2:15pm

13 Likes

# Liked by Simon St.Laurent on Wednesday, May 3rd, 2023 at 1:04pm

# Liked by Baldur Bjarnason on Wednesday, May 3rd, 2023 at 1:04pm

# Liked by Matthias Ott on Wednesday, May 3rd, 2023 at 1:31pm

# Liked by beep on Wednesday, May 3rd, 2023 at 2:07pm

# Liked by Btrinen on Wednesday, May 3rd, 2023 at 2:40pm

# Liked by Scott Orchard on Wednesday, May 3rd, 2023 at 3:13pm

# Liked by Luke Dorny :ComputerClassic: on Wednesday, May 3rd, 2023 at 4:39pm

# Liked by David Ross on Wednesday, May 3rd, 2023 at 7:14pm

# Liked by Paul Hebert on Wednesday, May 3rd, 2023 at 7:43pm

# Liked by Rasmus Kaj on Wednesday, May 3rd, 2023 at 8:18pm

# Liked by Chris Taylor on Thursday, May 4th, 2023 at 2:44pm

# Liked by FeralRobots on Monday, May 8th, 2023 at 2:14pm

# Liked by astra on Monday, May 8th, 2023 at 4:15pm

Related posts

Speculation rules

A performance boost in Chrome.

Responsibility

Fear of a third-party planet.

Fidinpamp

A small-scale conspiracy theory from the innards of Google.

PageSpeed Insights bookmarklet

With this bookmarklet you’re only ever one click away from the Lighthouse results for a page.

Speedier tunes

Improving performance with containment.

Related links

Pivoting From React to Native DOM APIs: A Real World Example - The New Stack

One dev team made the shift from React’s “overwhelming VDOM” to modern DOM APIs. They immediately saw speed and interaction improvements.

Yay! But:

…finding developers who know vanilla JavaScript and not just the frameworks was an “unexpected difficulty.”

Boo!

Also, if you have a similar story to tell about going cold turkey on React, you should share it with Richard:

If you or your company has also transitioned away from React and into a more web-native, HTML-first approach, please tag me on Mastodon or Threads. We’d love to share further case studies of these modern, dare I say post-React, approaches.

Tagged with

Standing still - a performance tinker | Trys Mudford

What Trys describes here mirrors my experience too—it really is worth occasionally taking a little time to catch the low-hanging fruit of your site’s web performance (and accessibility):

I’ve shaved nearly half a megabyte off the page size and improved the accessibility along the way. Not bad for an evening of tinkering.

Tagged with

JavaScript Bloat in 2024 @ tonsky.me

This really is a disgusting exlusionary state of affairs.

I hate to be judgy, but I honestly wonder how the people behind some of these decisions can call themselves web developers.

Tagged with

Cameron Dutro on ruby.social

Here’s the inside scoop on why Github is making a bizarre move from working web components to a legacy React stack.

Most of what I heard in favor of React was a) it’s got a good DX, b) it’s easy to hire for, and c) we only want to use it for a couple of features, not the entire website.

It’s all depressingly familiar, but it’s very weird to come across this kind of outdated thinking in 2023.

My personal prediction is that, eventually, the company (and many other companies) will realize how bad React is for most things, and abandon it. I guess we’ll see.

Tagged with

The Cost Of JavaScript - 2023 - YouTube

A great talk from Addy on just how damaging client-side JavaScript can be to the user experience …and what you can do about it.

Tagged with

Previously on this day

3 years ago I wrote Bugblogging

Also, tipblogging.

5 years ago I wrote Television

A run-down of what I’ve been watching during The Situation

7 years ago I wrote Good griddance

How CSS grid is making my life easier.

10 years ago I wrote 100 words 042

Day forty two.

19 years ago I wrote Helvetican crossing

I’m taking a trip down memory lane, Freiburg, Germany via Basel, Switzerland.

22 years ago I wrote Pynchon on Orwell

Following up on my earlier post about Newspeak, here’s a superb essay by Thomas Pynchon on 1984 which is part of the introduction to a new edition of the book published next week. In it, Pynchon finds hope in the very inclusion of the Newspeak Appen

22 years ago I wrote Obey Day

I feel I must apoligise to American readers for my earlier entreaties for a happy May Day.

23 years ago I wrote åsa & malin proudly present...

Local Flash heroes Kerb have relaunched their website.

23 years ago I wrote The World According to Student Bloopers

Students say the funniest things: