On Mon, Apr 11, 2011 at 5:59 AM, Roan Kattouw <roan.kattouw(a)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.
--
Andrew Garrett
http://werdn.us/