5 ms·
A static site generator for a wiki?
by fhd2 13y ago
A static site generator for a wiki?
- iand 13y agoA cache
- mintplant 13y agoThat sounds like a good idea, actually. Why not? Generate and store each page each time it's edited, then serve from the static copies. There will be a lot more reads than there are writes anyway.
- fhd2 13y agoThat's a static page cache, not really the same thing. And I'm pretty sure they're doing this already, or are about to.
- groovecoder 13y agoWe can't generate the whole thing statically, because there are parts of the interface that change with user state. We do render the HTML for article content, which includes many scripting templates. We're seeing a lot of interest in the static/caching side of the site. I wonder if we should do a public article about it and invite people to help us improve it.
- chalst 13y agoCan you not serve a static page and then have Javascript fetch the additional, user state-dependent content? At the very least, that will reduce latency for some content. The public article will surely be interesting even if it is not all that useful...