Published: Wednesday, May 29, 2019
On the internet most blogs use WordPress. This shouldn't come as a surprise to anyone at all as it has been heavily promoted for its ease-of-use. If you know anything at all about WordPress, then you know that behind it's pretty UI that it's pretty complex. When combined with a simplistic design, the complexity of Wordpress is well hidden which leads to users who don't know much about security, not keeping the install and being surprised when their website is hacked or otherwise taken offline.
Why should you make the switch?
There are multiple reasons why you should already be using Hugo, including:
1. Security. As Hugo has a completely static output, you don't have to worry about keeping your website up-to-date with the latest security patches.
2. Cost. Another advantage of using a static site generator is that your website will take up far fewer resources, and as a result, most people will be able to host their website on a really cheap hosting (ehem... Trutone) or VPS plan, even with a relatively popular website.
3. Scalability. When your site is just made up of files rather than a database, you are able to easily scale your website across multiple services or even host it completely on a CDN. Hosting your website on a CDN which includes some kind of "object storage" can be a really good way of having high availability, but this can get rather expensive than just regular shared hosting.
4. Easy Migration. Migrating a WordPress website can be a pain because you have to deal with exporting and reimporting a database which can be time-consuming and sometimes not work properly. With Hugo, you only have to move some files which is super easy.
How will Hugo help the internet as a whole?
At the moment with so many people using WordPress, the software has become a massive target for hackers, which is bad news for other websites as a hacked website can be used to launch a range of attacks on other more secure websites.
The types of attacks that can be launched from a compromised WordPress install can range from something as minor as comment spam to something as major as a DDoS attack.
With Hugo generating static output, it doesn't have all of the security problems of WordPress, so this means that if bloggers switch to Hugo the internet would have a lot less compromisation which would in turn make the internet better for every site owner.
Isn't Hugo complicated to use?
Hugo actually isn't that hard to use once you have seen a few tutorials. This might put some people off from using Hugo, but remember that ease of use does come with some pretty big downsides as stated earlier in the article.
What about comments?
This is probably the biggest downside to having a static website, but there are hosted comment systems that you can use such as Disqus. In fact, Disqus is built into Hugo's framework. The only problem with this is that you will be handing control of your comment section to a central company. If you do decide to use Disqus for your blog (we use it), please always keep a backup.
I hope this article has convinced you to use Hugo for your next blog. Anyways, we plan on releasing more articles in the future surrounding the topic of static websites, as this will hopefully help people to have an easy to maintain website which means they can spend more time making content rather than worrying about security. The main thing you need to know is that sometimes the easiest to use piece of software isn't always the best.