2011/4/11 Andrew Garrett <agarr...@wikimedia.org>

> On Mon, Apr 11, 2011 at 5:59 AM, Roan Kattouw <roan.katt...@gmail.com>
> wrote:
> > What we store in memcached is a serialized version of the preprocessor
> > XML tree, keyed on the MD5 hash of the wikitext input, unless it's too
> > small, like Platonides said. This means that if the exact same input
> > is fed to the preprocessor twice, it will do part of the work only one
> > and cache the intermediate result.
>
> Yes, I implemented this with Tim's help to try to cut down on the CPU
> load caused by lots of Cite templates, IIRC. If I recall correctly,
> the performance benefit was not particularly substantial.
>

Ok, coming bac to my idea of building small "libraries of  work-specific
templates into a unique template" doesn't seems a particularly brilliant
one; something that can be done only if templates merged into one are
simple, and few, and only for contributor's comfort, if any. Thanks for your
interest!

Alex
_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to