← notes

One index.html, 730 bytes, and the floor of shipping on the web

Jun 26, 2021

One index.html, 730 bytes, nothing else.

Worth a note precisely because there is nothing to it. This is the floor of shipping on the web and a useful reference point for how much the rest of the stack is actually buying.

What a single file gets you: no build, no dependencies, no lockfile, no package manager, no CI, no advisories about a transitive dependency of a bundler you forgot you had, and a page that renders the same in ten years. Deployment is copying a file. There is no version of this that breaks because a tool moved on. It is also completely legible, anyone can open it and know exactly what the page does, a property that disappears the moment there is a build step.

The cost arrives with page two. Shared markup becomes copy-paste, and every change to a header has to be made in each copy. Small at two pages, unbearable at twenty, and gradual enough that people notice well after a generator would have been cheaper.

The boundary sits around three or four pages sharing structure, which is much further out than the industry’s defaults suggest.