Home

The Most Compelling Argument for Using an SSG

SSGs were revolutionary when they entered the scene around 2008. But they are still relevant. And they are still great. And for many of the same reasons they were compelling in 2008.

There are a lot of reasons to love static site generators (SSG) more than 15 years after they hit the scene.

Start Simple

One of the reasons I love static site generators is that they tend to be simpler than the alternatives. I always recommend new developers learn the basics first — HTML, CSS, JavaScript. And then, very quickly after that, jump to SSG.

This is because SSGs often provide a framework for working more efficiently and DRYing up code without obfuscating the code presented to the user. You can see exactly what's being generated and have control over it.

It's more comforting for me to loosen up that control after I know enough about what's going on to have confidence in the process.

Challenges with SSGs

As much as I love SSGs, they aren't right for every situation. The truth is that they don't scale well. And I've tried. At the enterprise level, with thousands of pages and an increasingly complex architecture, we trie to make an SSG work, and it just didn't do well.

Generally speaking, SSGs are not built to serve large or complex websites. They can, but it's usually more challenging than choosing a framework built for more complexity.

The Most Compelling SSG Argument

Without going into the details of the benefits and challenges (which I'd be happy to do if you ask, because I love talking about these things), there's one thing about SSGs that keeps me coming back and at least considering them for any project: you can't break production.

There are fewer moving pieces. What you get after a build is (or should be) plain HTML containing the content on your page, with some CSS and JavaScript to enhance it as needed.

When users interact with that code, all the content is (or should be) already there. No need to go fetch content.

Fewer moving pieces. Fewer opportunities for things to go wrong.

Let's Connect

Keep Reading

From static to Jamstack

The Jamstack combines the best parts of Web 1.0 and Web 2.0, resulting in secure sites that are easily scalable, well-performing, and lower cost.

May 01, 2020

4 Less Common, but Super Powerful (Static) Netlify Uses

Netlify isn’t just for websites. Learn how you can use Netlify to serve your other sites with useful content, creating a single source of truth for your assets and data, as needed.

Sep 03, 2022

How to Build a Static API

An introduction on how to approach building a static API, which serves as the background for several specific tutorials on the topic.

Apr 08, 2020