Draft - never published, so it isn't on the live site yet.

Leaning into the Jam(stack)

Anyone who has looked at the access logs of a small business website recently will have noticed something unsettling: most of the visitors are not people.

They are bots, and a growing proportion of them are not indexing your content. They are probing it, looking for an out-of-date plugin, an exposed admin page, or a login form that will accept admin/admin.

None of this is new. What is new is the cost. AI tools have made it cheap to read a vulnerability disclosure, write a working exploit, and point it at every website on the internet before the site owner has even seen the patch notice. The window between "a flaw is published" and "a flaw is exploited at scale" used to be measured in weeks. It is now measured in hours, and it will keep shrinking.

If you run a small business, you do not have a security team watching that window for you. So the question becomes: what can you simply not have that the bots are looking for?

What is the Jamstack, Anyway?

The term Jamstack (JavaScript, APIs, and Markup) has been around for the best part of a decade. The idea is simple. Instead of a server assembling every page from a database each time somebody visits, the whole site is built ahead of time into plain HTML files. Those files are pushed out to a content delivery network and served as-is. Anything genuinely dynamic, such as a booking form or a payment, is handled by a small number of well-defined APIs, called from the browser.

In practice, this means a typical Jamstack site has:

  • No database sitting behind the public website.
  • No server-side code running on each page request.
  • No admin login on the public site for anyone to guess at.
  • No plugins that need patching every other Tuesday.

Less Surface, Less to Attack

The security argument for static sites is not that they are clever. It is that they are boring. A folder of HTML files has very little to exploit. There is no SQL to inject (we discussed how unclever, and how damaging, SQL injection can be in our post on securing the digital supply chain), no session to hijack, and no wp-admin page for a botnet to hammer on.

Compare that with a conventional content management system, where the public website, the editing tools, the database, and a dozen third-party plugins all live on the same server. Every one of those components is a door. Most of them are well built. All it takes is one that isn't, on a site whose owner was too busy to click "update".

When the attackers are automated, tireless, and getting cheaper by the month, the most reliable defense is to have fewer doors.

Why "Mostly" Static?

We are not purists. A website that cannot take a booking, sell a ticket, or capture a sign-up is not much use to most businesses. The "mostly" matters.

The trick is to keep the dynamic parts small, separate, and boring too. A contact form can post to a single, narrowly scoped endpoint that does one thing: drop a row into a spreadsheet, say, or send an email. A booking widget can be provided by a service whose entire business is keeping that one thing secure. If one of those pieces does have a problem, it is contained. The rest of the site carries on being a folder of HTML files.

This is not a free lunch. Every API you call is a dependency you are trusting, and supply chain risk does not disappear just because the site is static. But it is a far smaller, far more auditable set of risks than a monolithic CMS with a plugin marketplace bolted on.

The Other Benefits

Security is the headline, but it is not the only reason we have leaned into this approach for our own work, including our 100 dollar websites:

  • Speed. Pre-built pages served from a CDN are fast, everywhere, without any tuning.
  • Cost. Static hosting is cheap, and frequently free. There is no server to keep running and no database to back up.
  • Resilience. A traffic spike that would bring a small database-driven site to its knees barely registers.
  • Ownership. The content lives in plain files (in our case, documents in your own Google Drive) rather than locked inside somebody else's database.

The Trade-offs

To be fair to the alternatives, static sites do ask something of you. Changes need a build step before they go live, so there is a short delay between editing a page and seeing it published. Content that changes by the minute (live stock levels, for example) needs to come from an API rather than being baked into the page. And the editing experience has historically been aimed at developers rather than the people who actually run the business.

That last point is the one we have worked hardest on. Our view is that a business owner should be able to update their website with nothing more exotic than a word processor, and never have to know that a build pipeline exists.

So, Is This the Way Forward?

For the brochure sites, portfolios, and small storefronts that make up most of the web, we think so. The economics of attack have changed, and the sensible response for a small business is not to buy more security products but to present a smaller target. A mostly static site does exactly that, and is faster and cheaper to run into the bargain.

Are we wrong? Is there a class of small business site where a traditional CMS still earns its keep? Comments welcome.