back

by toddmorey·9y ago·view on hn ↗
For a SaaS company like yours, I would do a site that's static content served from a CDN (generated by something like jekyll and friends). Obviously a site deployed that way is largely fail-proof and fast, but there's another (and larger) benefit people don't often mention:

Having your site content live in the git repo instead of a database is amazing. In fact, this is the approach taken by most documentation sites these days. It makes it so much easier and faster to make changes, updates, and experiment. I use Netlify as a static host; they have features to make any commit, pull request, or branch into a hosted preview. It's an awesome way to work.

(For less technical editors, you can plug them into the process with something like NetlifyCMS, a clever open source project from the same folks that basically is a CMS interface running on git / github.)

1 comments
I support this very much. WP is quick to setup but becomes a huge pain in the a* very quickly. Everything needs a plugin. Caching, backups, multilanguage support - these were the big ones for us. It becomes very fragile and hard to update, at some point you start spending a lot of time maintaining everything.

At the end I just sat down for an afternoon and wrote 500 lines of reusable python/flask that did exactly what we needed [1]. Even though it's my code this is actually much less work to maintain compared to some MySQL-PHP-WP-10Plugins-JS-Nginx-Kraken monster.

[1] https://github.com/muellermichel/guetzli