3 ms·
It is sort of possible to do this statically. The benefit of static websites is not only fast loading, but also that GitHub Pages offer very high-quality free s
by winter_blue 12y ago
It is sort of possible to do this statically. The benefit of static websites is not only fast loading, but also that GitHub Pages offer very high-quality free static hosting.
For a forum:
1) You'll need a server with an API for submitting posts. You can use the filesystem as the DB, if you'd like.
2) This server will update the static website (i.e. regenerate it, and push it to GitHub Pages) on a regular interval (which could be as small as one minute).
So it's definitely doable, and offers huge benefits. For one, static pages can be served very efficiently. If you use GitHub pages, you can leverage its global Content Delivery Network (CDN) for free. And you are guaranteed a nearly zero downtime for free by GitHub.
The only "drawback" is the insignificant one minute delay before a new post goes "live". Shoot me an email if you'd like to collaborate on a static forum project!