Why you should use a static generator for building websites

If you are considering to build a website, using static site generators will be a good choice if your website does not require very high dynamic content. Actually they have been popular over the past few years. Static sites bring many advantages especially when it comes to speed and security. The pages pre-rendered by generators can be served just over a CDN. That saves a lot of effort and money for running a server. And today’s generators have been capable to meet some dynamic requirements, such as comments, real-time data updating, etc.

Why Static Site Generators Are The Next Big Thing tells more why you should use them. Although it was written in 2015, it is not out of date. It’s author is the co-founder and CEO of Netlify. In fact with a platform such as Netlify (it offers free host for starters), building a static website would be much more easier.

Netlify error fetching branch

Describe how to resolve hugo build error which says 'Error fetching branch https:xxx/xxx'.

netlify

Which static site generator should you choose for your website

Here we will talk about choosing a proper static site generator for a static website. You can find a list of generators at StaticGen. But there are so many of them, "Static Site Generators Reviewed" has narrowed the range to four typical ones: Jekyll, Middleman, Roots and Hugo. Below gives a simple conclusion about them.

static-site-generator