Should it do dynamic file loading only when previewing and saving?
Status: Beta
Brought to you by:
worden
Because that should really be the only time it makes things intensively. Maybe the rest of the time it would be better to just assemble all the files into the output page before serving it, the old way. It would be nicer for people casually viewing the wiki.
Anonymous
I think I could do a sequence where
I guess people might want a way to make an exception (in either direction - always display the page dynamically, or never), but I think in the majority of cases, while editing is the only time you want to know in detail what the make and load operations are doing and have feedback about what's taking time. It's irritating to wait for the files to load one by one when nothing has changed and you know it's just going to show the same thing as every other time you load the page.
This just-the-one-time-after-saving feature could be implemented by setting a cookie and then unsetting it once it's used.
That would introduce a race condition if another viewer loads the page after you save it but before you view it - then the other viewer would get a slow page load while waiting for files to make. This seems like it might be acceptable. Or maybe I can mark the page on the server side rather than using a cookie, so it'll run dynamically the first time regardless of who loads it.