genuinely amazing, is there a writeup on this?
I don’t know how you could statically generate that. At most, you could memoize the parts of the page that haven’t changed yet and return them without a complete lookup, but keeping that in synch with a database is not an easy problem.
That would leave the serving to some of the applications being good at that (varnish?).
Finding the right heuristic regarding page regeneration might take some tweaking, but the amount of generating you have to do is small enough not to bother any single threaded program.
but dang references it in a handful of comments he’s posted.