← All topics

Performance

All writing →

18 posts filed under Performance, newest first.

7 min

srcset, revisited

The exact bug I wrote about in 2018, on a site built last year, by a competent team, with a modern pipeline. Which tells you which parts of this got fixed in eight years.

Images Responsive Performance
7 min

Web sustainability

Three years of declining performance work. Then the same list of changes, approved in two weeks, because it arrived under a sustainability heading instead of a technical one.

Performance
7 min

Web fonts are the budget

I measured a client's homepage in August and the fonts were 41% of it, which makes them the largest avoidable cost on the page and also the one line item nobody will let you touch.

Typography Performance
9 min

Just look at it

Most image optimization advice is about codecs, but the actual bug is usually that nobody has opened the file and looked at it since the day it came out of Figma.

Performance Images
7 min

IntersectionObserver

For about eight years the standard way to find out whether something was on screen was to ask, repeatedly, on every scroll event, in a way that forced the browser to stop and recalculate layout each time.

JavaScript Performance
7 min

AVIF and the format question

Two things happened to image formats this fall, and the less exciting one is much more useful. I'd like a flowchart for choosing between them. I don't think one can exist.

Images Performance
6 min

It got slower while I optimized it

I added lazy loading to every image on a site in about 20 minutes, felt pleased with myself, and then measured it and found the pages were taking longer to show their main content than before I started.

Performance Images
7 min

Core Web Vitals is a client conversation

Eight years of losing this argument, because it was my opinion against somebody's feature. Then Google published three numbers with thresholds on them. That changes the politics far more than the engineering.

Performance SEO
7 min

Third-party scripts

We spent 40 minutes arguing about whether a 28 KB framework was too heavy for the project, on a site whose tag manager was pulling in 470 KB of other people's JavaScript that nobody in the room had ever measured.

Performance Tooling
7 min

The cookie banner is the product now

A month after the deadline, the visible output of the largest privacy regulation in a generation is an interface that appears on every website in Europe and is designed, carefully and expensively, to be got past.

Privacy Performance
5 min

The cart is not a page

Full-page caching made the whole store about eight times faster and broke exactly four things, and all four of them were the same problem wearing different hats.

Performance Ecommerce
7 min

The CMS undoes it

I shipped that homepage at 180 KB and it is currently 2.5 MB, and nobody did anything wrong. They just changed the picture like they were supposed to be able to.

Images Performance WordPress
7 min

The 400 KB hero

Every conversation about page weight goes straight to minification. Meanwhile there is a 2 MB image on the page that nobody has opened since Photoshop.

HTML Images Performance