Skip to content
← All posts

Tagged

Performance

6 posts

Engineering3 min read

The N+1 you cannot see

Everyone knows to eager load. The queries that actually take sites down are the ones hiding in an accessor, a Blade partial, or a policy — and there is a one-line switch that finds all of them.

Engineering4 min read

Database indexes, explained with a phone book

Most slow queries are one index away from being fast. The reason people do not add it is that nobody ever explained what the index is actually doing.

ML for Web Devs4 min read

Running a model in the browser, and when that is a good idea

Transformers.js and WebGPU put real models on the client. The demo is easy; knowing which features belong there is the part worth thinking about.

Web4 min read

Web performance is a budget, not a sprint

Every performance sprint I have been on made the site fast for about four months. The teams whose sites stayed fast did something different, and it was not technical.

WordPress3 min read

WP_Query is fast until it is not

WordPress will happily let you write a query that scans a million meta rows. Here is which arguments are expensive, why, and what to do instead.

From The Wire