When a page is rendered by the parser, is that stored in the Data Base for cache? Or is it rendered every time it is loaded?
If it is stored, does anyone know what table it is stored in in the DB?
Thanks, -Adam
On Wed, Jul 13, 2011 at 7:51 AM, Adam Meyer meyer7@mindspring.com wrote:
When a page is rendered by the parser, is that stored in the Data Base for cache? Or is it rendered every time it is loaded?
If it is stored, does anyone know what table it is stored in in the DB?
The parse tree is cached by default (unless you disable it). If you have APC or eAccelerator, it will be stored in the shared memory cache. If you don't have these it will fall back to the database and be in the 'objectcache' table.
-Chad
On Wed, Jul 13, 2011 at 8:04 AM, Chad innocentkiller@gmail.com wrote:
On Wed, Jul 13, 2011 at 7:51 AM, Adam Meyer meyer7@mindspring.com wrote:
When a page is rendered by the parser, is that stored in the Data Base for cache? Or is it rendered every time it is loaded?
If it is stored, does anyone know what table it is stored in in the DB?
The parse tree is cached by default (unless you disable it). If you have APC or eAccelerator, it will be stored in the shared memory cache. If you don't have these it will fall back to the database and be in the 'objectcache' table.
Wow should learn to proofread my e-mails. The ParserOutput object is what's cached, not the parse tree.
-Chad
Perfect! Thanks
-Adam
On Jul 13, 2011, at 8:05 AM, Chad wrote:
On Wed, Jul 13, 2011 at 8:04 AM, Chad innocentkiller@gmail.com wrote:
On Wed, Jul 13, 2011 at 7:51 AM, Adam Meyer meyer7@mindspring.com wrote:
When a page is rendered by the parser, is that stored in the Data Base for cache? Or is it rendered every time it is loaded?
If it is stored, does anyone know what table it is stored in in the DB?
The parse tree is cached by default (unless you disable it). If you have APC or eAccelerator, it will be stored in the shared memory cache. If you don't have these it will fall back to the database and be in the 'objectcache' table.
Wow should learn to proofread my e-mails. The ParserOutput object is what's cached, not the parse tree.
-Chad
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On Mon, Jul 18, 2011 at 3:56 PM, Platonides Platonides@gmail.com wrote:
Chad wrote:
Wow should learn to proofread my e-mails. The ParserOutput object is what's cached, not the parse tree.
-Chad
Well, that was not so off. The preprocessed tree is also cached.
I though Tim backed that back out. I remember a quote about him "leaving a big cache-shaped hole in it."
-Chad
mediawiki-l@lists.wikimedia.org