Why we still build every page ahead of time

Static pages are not fashionable, but they are fast, cheap to host and hard to break. Here is why sitehand probe sticks with them.

Every few months someone asks why sitehand probe does not render pages on the fly. The short answer is that our customers run small marketing sites, and those sites change a few times a week at most. Building each page once and serving the same file to every visitor is the simplest thing that works.

What we get from it

Pre-built pages give us three things we would struggle to match any other way:

  • Speed. A finished HTML file can be served from a cache close to the visitor, so the first screen appears almost at once.
  • Low cost. Static hosting is cheap or free for most small sites, which keeps our plans affordable.
  • Fewer moving parts. There is no server to patch and no database that can fall over on a busy Monday.

The trade-off

The cost is that a change is not visible until the next build finishes. For most teams that means waiting about a minute after they press publish. We think that is a fair price, and we show the build progress right next to the edit so nobody has to guess.

When we would change our minds

If customers start asking for pages that differ for every visitor, such as account dashboards, we will look again. Until then, plain files are the right tool. If you want the longer technical version, the Astro documentation explains the build model we use.