Jan's change to the database has my blessing, as he is a (the!) database expert. Anyway, it isn't *my* baby anymore, it is *ours*;) Yeah, the blessings of modern cloning technology...
As for the cache flushing mechanism Brion proposed in a private mail, the easiest way would be to link it to the cur_counter field; if "cur_counter MOD 20 == 0", the cache could be flushed, best by setting the local $cache variable to "" at the end of the load routine. 20 is just a wild guess...
Finally, thanks to Jimbo for setting up this mailing list. Gee, I never caused a mailing list before ;)
Magnus
wikitech-l@lists.wikimedia.org