Emergency Website Kit: a Boilerplate for Single-Request Sites

Max Böck has published a boilerplate project for building websites that fit inside a single HTTP request. The target is sites carrying critical public-safety information, where the need is especially acute. As Böck puts it, organizations in an emergency often need a fast way to publish critical information, but existing CMS-based websites frequently cannot absorb sudden spikes in traffic.

The project approaches that problem with a few deliberate choices:

  • it generates a static site with Eleventy,
  • it keeps markup minimal and inlines the CSS,
  • it aims to transmit everything within the first connection roundtrip (roughly 14KB),
  • it adds offline support progressively through Service Workers,
  • it uses Netlify CMS so content is easy to edit, and
  • it offers one-click deployment on Netlify to get a site live quickly.

The example site Böck built on the boilerplate is, in the source author's words, shockingly fast — fast enough to prompt the argument that every website, not only those useful in an emergency, should feel this quick.

The boilerplate is on GitHub, and Böck wrote about it on his own site.

CSS-Tricks star logo