Hacker News new | ask | show | jobs
by gwbas1c 3264 days ago
But can a web-based updater can still generate a static back-end?
3 comments

Depends what you mean by "static" at this point. I've created sites that were updated infrequently, and so I wrote a script to build out a static mirror of the site after updating. By exposing only the static mirror you get the best of both worlds. For a higher end setup, you can run a static caching layer on the HTTP server netting you the same performance benefits but without manually building the mirrored version.
Will be interesting to see when the next generation of "content APIs" hit - client updates a field in a backend somewhere and it rolls out to static sites, apps, bots etc... all over.
There already exists some nice projects for this, like https://www.netlifycms.org/
There's also Movable Type, which has been around for 16 years now.
That's fine for content based sites, but often times the client wants to edit their homepage as well.