Re:The Mozilla Developer Network has a New Face
by fhd2 on Monday December 09, 2013 @06:03PM
(#6877716)
A static site generator for a wiki?
[ Parent
| on HN ]
Re:The Mozilla Developer Network has a New Face
by mintplant on Monday December 09, 2013 @07:22PM
(#6878113)
That 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.
Re:The Mozilla Developer Network has a New Face
by fhd2 on Tuesday December 10, 2013 @04:49AM
(#6879820)
That's a static page cache, not really the same thing. And I'm pretty sure they're doing this already, or are about to.
Re:The Mozilla Developer Network has a New Face
by groovecoder on Tuesday December 10, 2013 @08:56AM
(#6880690)
We 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.
Re:The Mozilla Developer Network has a New Face
by chalst on Wednesday December 11, 2013 @04:16AM
(#6886701)
Can 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...