New blog? New backend!
Why a static site?
I chose a static site generator over my old Wordpress blog because of the following reasons:
- Wordpress, its plugins and PHP need to updated regularly.
That’s annoying and time consuming.
- Like most other software, Wordpress and its plugins are often vulnerable to attacks.
I don’t want to have to worry about hackers getting access to my blog.
- I prefer to write my blog posts in plain markdown, in my editor of choice.
- I don’t need the dynamic features of the PHP script language.
Benefits of a static site
Static sites can be served by a simple web server like nginx or Apache.
These webservers are battle-tested and work very well.
By serving only static files, I could reduce my stack from
- Wordpress Plugins
to only a simple webserver.
This means less stuff to worry about.
Oh, and I should also mention the performance benefits of static sites.
If you want to take a look on the source of a blog based on Hugo, go check out this really nice blog from maoberlehner: https://github.com/maoberlehner/markus-oberlehner-net.