Static sites for long-term publishing

Why plain files outlast platforms.

TechnologyPublished 2 min read#publishing#hugo
On this page

A static site is a folder of files. That is its strength: it is fast, cheap to host and easy to move. This site is built with Hugo for exactly those reasons.

Why it lasts#

  • The content is Markdown. It is plain text, so it can be reused in whatever tool comes next.
  • Hosting is a commodity. Any web host can serve a folder of files, so I am never locked in. Moving means copying the folder.
  • Nothing to maintain. No database to patch and no login to protect. There is very little that can break.
  • It is quick. Pages are already built when someone asks for them.

Trade-offs#

There is no database and no login. Anything dynamic, such as search or comments, needs a small add-on or a third-party service. Here, search runs in the browser from an index built along with the site.

You also need to be comfortable with a build step. Writers who prefer a visual editor may find it a bit much at first.

When I would choose something else#

For a site with many editors who are not technical, or content that changes by the minute, a content management system is a better fit. For documentation and a personal site that I want to still work in ten years, I will take plain files every time.

Related articles

Esc
↑ ↓ moveEnter open/ or Ctrl K anywhere
subash.