Tei wrote:
Another idea thrown against a wall:
can template scripts be "pre-calculated" ? I think most people talk about script interpreted "on-demand". But what If scripts are updated every 100 uses, and in a async way. That way a script that take 10 min to finish is not a problem. It will be updated every 10 min (or every 1 hour, if the servers want that).
I mean, have "outdated" templates, that only updated wen the server can, and not everytime the server use that template.
note: I have no idea if this message is more noise to make the raise/signal worst. Sorry if is that.
That's pretty much what mediawiki does. The template is only parsed when article is modified. With the template calculating the age of the subject you need to calculate it every time (or cache the output for each template with each set of parameters). When you modify the template, if i has many uses, the pages using it will used the cached version of the page until the job queue reaches to update it.