On 5/10/05, Lee Daniel Crocker lee@piclab.com wrote:
Yes! There's only one tricky part for which we may have to consider creative implementations: I tried as much as possible to take style markup (especially skin-specific) out of the rendered wikitext to allow it to be cached, but there's one case that's still a problem: red links (i.e., links to non-existent pages).
[...] Yet another is to optimize the hell out of discovering the simple existence of a page, so that it's not a bottleneck in rendering (say, by having a daemon that keeps a one-bit field for every page using a spell-checker data structure)
This seems like the best method.
Maybe then you could also send the cached text to the user along with a separate list of which links should be red, using a simple JavaScript to modify the HTML on the browser side? Not sure this would be better than just modifying an existing cached version on the server side though.
Fredrik