Credit: www.mkdocs.org
We are going to investigate some static site generators in this tutorial, plus discover what W they are useful for and, in some situations, why they are better than a CMS, such as WordPress, which has reached the grand old age of 20 now.
Static site generators are, as the name suggests, pieces of software that can be used to take content and build a static site from that content. The word static probably suggests something pretty basic, but this does not need to be the case at all. Static site generators can include all manor of functionality, such as blogging support, CSS that changes the rendering on different screen sizes, and beautiful theming.
There are many advantages of using a static site generator, one of which is that of the overhead of the hosting environment. When using a system such as WordPress, the web server needs to execute PHP code via a plugin, and this PHP then queries a database and extracts information, which is manipulated and output as HTML. All of this takes more resources than simply hosting HTML, JavaScript and CSS. You might think this doesn’t sound like a particular hardship, given that we all have multicore processors and many gigabytes of RAM, but for busy websites, with lots of visitors, this overhead soon adds up. Also, when the content isn’t constantly in flux, there is nothing wrong with using a