Re: [Wikitech-l] Help needed with ParserCache::getKey() and ParserCache::getOptionsKey()

2013-12-11 Thread Daniel Kinzler
Am 10.12.2013 22:38, schrieb Brad Jorsch (Anomie): Looking at the code, ParserCache::getOptionsKey() is used to get the memc key which has a list of parser option names actually used when parsing the page. So for example, if a page uses only math and thumbsize while being parsed, the value

[Wikitech-l] Help needed with ParserCache::getKey() and ParserCache::getOptionsKey()

2013-12-10 Thread Daniel Kinzler
(re-sending from the right account for this list) Hi. I (rather urgently) need some input from someone who understands how parser caching works. (Rob: please forward as appropriate). tl;dr: what is the intention behind the current implementation of ParserCache::getOptionsKey()? It's based on

Re: [Wikitech-l] Help needed with ParserCache::getKey() and ParserCache::getOptionsKey()

2013-12-10 Thread Brad Jorsch (Anomie)
On Tue, Dec 10, 2013 at 4:22 PM, Daniel Kinzler dan...@brightbyte.de wrote: what is the intention behind the current implementation of ParserCache::getOptionsKey()? It's based on the page ID only, not taking into account any options. Looking at the code, ParserCache::getOptionsKey() is used

Re: [Wikitech-l] Help needed with ParserCache::getKey() and ParserCache::getOptionsKey()

2013-12-10 Thread Tim Starling
On 11/12/13 08:22, Daniel Kinzler wrote: what is the intention behind the current implementation of ParserCache::getOptionsKey()? It's based on the page ID only, not taking into account any options. This seems to imply that all users share the same parser cache key, ignoring all options that