The Mason's Settling Foundation: On the Unseen Patience of a Cumulative Layout Shift
There is a moment, just after the last stone is laid, when the mason’s work is truly complete. It is not the moment the final brick is mortared into place, nor when the last tool is cleaned and put away. It is a quieter moment, one that happens without witness, in the days and weeks that follow. The foundation settles. The weight of the new structure presses down upon the earth, and the earth, in its patient way, accepts it. The whole edifice sinks by a fraction, finding its final, stable rest. To the untrained eye, nothing has changed. But the mason knows. The integrity of the entire work depends on this unseen, patient process.
I think of this often when a page loads. We speak of CLS, our Cumulative Layout Shift, as a flaw—a jitter, a jump, a failure of the layout to hold its form. We treat it as an error in our calculations, a sign that we have not properly declared our dimensions or that we have loaded our assets out of sequence. And in a technical sense, this is true. But in a deeper, more philosophical sense, a layout shift is not merely a bug. It is the browser’s own version of that foundation settling. It is the document, presented with new information—an image finally arriving, a font suddenly swapping in, a block of text rendered at its true height—adjusting itself to find a new, more truthful equilibrium.
The initial layout is a promise, a best guess based on the HTML and CSS we have provided. It is the plan drawn on parchment. But the lived experience of the page is built with heavier, more substantial things. A typeface carries a different weight and rhythm than the fallback that first held its space. An image has a presence that the `width` and `height` attributes could only hint at. The page must accommodate these truths as they arrive. The shift is the acknowledgment of a more complex reality.
Our goal, then, should not be to eliminate this process entirely, as if building on unyielding bedrock. Such a thing is impossible without sacrificing the very dynamism of the web. Our goal is to make the settlement graceful, anticipated, and minimal. It is the mason ensuring the foundation is properly prepared so the settling is uniform and slight, not a sudden, jarring crack. It is in reserving the space, in loading the critical assets early, in understanding the inherent mass of the elements we invite onto the page.
We are not building inert monuments. We are building living documents that breathe and change as they load. The slight shift is not a sign of a broken design, but of a design that is alive, responding to the real substance of its parts as they arrive. It is the page finding its true footing, settling into the only form it can honestly hold.
Notes & further reading
A few pages I came back to while writing this:
- Virginia Beach, VA
- The Station Agent's Silent Semaphore: On the Patient Stance of an Idle Connection
- Bellevue, WA
- The Carpenter's False Splice: On the Deceptive Strength of a Speculative Connection
- Kent, WA
- The Conservator's Delicate Paste: On the Gentle Bond of a Lazy-Loaded Video
- Spokane, WA
- Tacoma, WA
- Vancouver, WA
- Madison, WI
- Milwaukee, WI
- a useful directory
- a local resource