5 ms·
Although the site generation software here is Hugo it could easily be another provider such as Jekyll. The web server will be hosted on a Digital Ocean droplet
by Animats 9y ago
Although the site generation software here is Hugo it could easily be another provider such as Jekyll. The web server will be hosted on a Digital Ocean droplet running Nginx, and CircleCI will be used for for the continuous integration (often abbreviated to simply “CI”)
It's just a blog. Why is this better than running Wordpress, perhaps with a caching server in front if the traffic is heavy enough?
- smacktoward 9y agoThere's no CMS software exposed on the public-facing end, so no need to continually monitor and install security updates the way there is with WP and other CMS-driven systems. That's not a huge thing, especially these days when WP increasingly updates itself, but if you're looking to reduce your attack surface it can be helpful.
- mason55 9y agoSecurity and ease of deployment. If your "blog" is just a bunch of auto-generated HTML pages then there is no database to worry about or WordPress install to keep up to date. You won't get hacked because you installed a plugin with a bunch of bugs in it.
- catdog 9y ago* Secure by default, you only have to keep your web server up to date or host externally * As fast as it gets without complex caching setup * Everything is nicely in version control instead of a SQL database (which also is used in a very messy way in case of Wordpress), edit with your favorite editor, no slow and clunky web interface with a subpar editor
- deleted 9y ago[deleted]
- giobox 9y agoAnother advantage is you can put your _entire_ website on a CDN provider like Cloudflare, because the whole site is static. This means my server can die completely, but Cloudflare can still keep on serving my site, and my readers have no idea of my ineptitude. You can do this even with Cloudflare's free tier - no need to rely primarily on adding more VPS instances/load-balancing to 'scale' your static site - the CDN can help take care of this. I've recently moved my Jekyll based blog to the cheapest VPS instance I could find, and use CloudFlare to handle the load (not that it has much in the way of readers...).
- rgbrenner 9y agobe careful relying on that though.. Each pop has it's own cache, and when there's a miss, it'll hit your server. Its pretty rare that a CDN gives you any insight into their caches, and there's no guarantee a file is kept in the cache. A file can be removed from the cache for many reasons--cache filled; file not popular enough; etc. So even if your local pop is saying the file is cached.. the other pops may not have any files for your website at all... or might be missing parts of the page (images, etc). (The x-cache header only indicates the status of the file at the pop that served the request -- not all pops.)