Engineering
Prerender Everything and Ship a Static Site
If two visitors receive identical bytes, a server runtime is a tax you agreed to pay for nothing.
Most sites do not need a server. They have one anyway, because the framework that generates them assumes it will, and removing it turns out to be nobody's problem.
This site is one of them. It is a blog. Every reader gets the same twenty-five articles, the same covers, and the same stylesheet, and the only thing that varies between two visitors is the HTTP header that asked for it.
The test
Ask one question: does the response differ for two different visitors? If every visitor would receive identical bytes, then anything that runs per-request is a tax you are paying for nothing.
GET /about
visitor A -> 200, 8.4 kB, identical
visitor B -> 200, 8.4 kB, identical
Conclusion: the server was not required.What you get back
- First paint stops depending on a cold start, a framework boot, or a region you happen to be near.
- The failure mode changes from "5xx" to "file not found" — which is a much easier page to debug.
- Caching becomes trivial, because every URL is immutable and every one of them is a file.
- The deploy target stops mattering. Static host, container, edge — the artefact is the same.
The part people get wrong
Prerendering is not the same as hiding the page behind a spinner. If your article feed is assembled in the browser, you have not prerendered anything — you have moved the server's work onto every visitor's device and paid a JavaScript tax to do it. A page that only exists after hydration is invisible to a crawler and to anyone without JavaScript.
Where interactivity still belongs
Tabs, accordions, search filtering, a theme switcher. None of these change what the page says, so none of them need to block anything. Hydrate them after the content is already there and the page works either way.
The prerender step that does this here is one script and adds no dependencies to the install. It reads the post list, renders every route with the same renderer the client uses, and writes one HTML file per URL.