Static site generation. Not to be confused with server side rendering.
What is it?
A static site generator allows you to implement complex information architectures, and performant presentation layers in your language and framework of choice. There are 400 options out there, including C, C++, C#, and Erlang 🤯 so I am betting your preferred tool is in there.
Some of these allow you to chose between ~100 options to manage your website content with a CMS. And almost all of them allow you to just use Markdown or MDX files to store the content.
How does it work?
Typically, when you run the generator, it pick ups (all) the content from the CMS, or the file system, and it creates all the pages, routes, and endpoints at once.
You can then just upload them to a CDN like Netlify or S3 + Cloudfront to make them available to the world.
Since you only use cloud storage and transfer, you minimise the computing time of every site visit. Saves you money, saves energy :stop:, saves time, and contributes to a great UX. Go ahead, click around, is it fast?
You can automate the whole process with something Github, or Netlify - is Travis still around? - so that whenever you publish something, the build and deploy - fancy word for upload - all happen within minutes and zero intervention from you.
8 posts under #ssg
Improving (MDX) authoring experience in Astro / Solutions
Astro built-ins and plugins are not sufficient to deliver all the features or details that I want t…
MDX authoring experience in Astro / Shortcomings
Since I am migrating this site to Astro - which I am convinced is the best SSG out there right now …
Advanced MDX authoring experience / Requirements
Once I got my new website's information architecture up and running, and migrated most of the old c…
(re)Building my website with Astro + MDX + Preact
Relaunching my website, again based on another Typescript SSG framework. 🚀 Not React-Static anymore, not even React "at all". Introducing the magnificent Astro. 🌔
Saying goodbye to my React Static website
I am relaunching my website with Astro. Writing down a word or two about the previous version, React Static, and the original "MDX" experience.
Static site generators: brief history, as I recall it
Hype keeps building up around static site generators. But this technique has been around for much l…
Staging My Website Rebuilt In React Static
Today the new version of my website is uploaded to a staging endpoint. What is happening, what is n…
Hello World (Again)
Here I am again, rebuilding the whole thing, enjoying React and static site generation and making p…
2 tags under # ssg
2 meta docs under #ssg
Re-build with Astro
I was searching for a replacement for React Static and Astro just landed from the sky.
Framework: React Static
I have been using my own simple SSG for 2 years now. But new tools have - obviously - emerged in the static sites space. Should I rebuild my site with React Static?