The Stonemason's First Unset Mortar: On the Patient Curing of Cumulative Layout Shift

There is a quiet moment in the stonemason’s craft, after the last block is laid but before the work is truly done. The wall stands, to all appearances, complete. Yet the mason knows the structure is at its most vulnerable. The mortar between the stones is still wet, still soft. A careless lean, a sudden jostle, and the entire careful arrangement can shift, grinding against itself, betraying the intention of its design. The wall must be left to cure, to find its final, unshakable form in patient silence.

So it is with our pages. We assemble them with precision, laying each element with care. We call for our typefaces, our images, our interactive pieces. And then we wait. It is in this waiting, in the asynchronous churn of network and rendering engine, that the modern web finds its most common flaw: the jarring, unexpected shift. A paragraph of text leaps downward to make way for a hero image finally arriving from a distant server. A button you were about to click vanishes under your cursor, replaced by a newly rendered advertisement. This is the Cumulative Layout Shift, the wet mortar of our craft.

We are taught to build for speed, to shave milliseconds, to get something—anything—in front of the reader’s eyes. But in that frantic race, we often forget to build for stability. We forget that a page is not a static image but a living document, one that breathes and changes as its components resolve. The true measure of a page’s quality is not just how quickly it paints, but how still it remains once it has. A page that dances and shimmies as it loads is a page that disrespects its visitor, that says their attention and their intention are secondary to its own internal processes.

The cure, like the mason’s, is one of patience and forethought. It is the explicit dimensions on an image, carving out its space in the layout long before the last pixel travels the wire. It is the reservation of a void for a font, its metrics known and accounted for, so the text does not reflow upon its arrival. It is the understanding that every resource summoned has the potential to be a tremor, and our job is to absorb that energy, to isolate it, to ensure the reader feels only the solidity of the final form.

We are not just builders of fast experiences, but stewards of stable ones. We must learn to value the quiet curing of the layout, that sacred period where the page settles into its true, intended state. For in that stability, we offer not just speed, but respect. We offer a place that is not only quick to arrive but is also, and just as importantly, safe to inhabit.

Notes & further reading

A few pages I came back to while writing this: