Jump to content

Parser cache

From Wikitech
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Our implementation of the MediaWiki parser cache primarily uses MariaDB, with hot keys also residing in Memcached.

The configuration is in CommonSettings.php (operations/mediawiki-config ) as part of a MultiWrite wgObjectCaches key. Although the mapping between parser cache sections and DB hosts used to be configured in mediawiki-config as well, this is now managed with dbctl.

Current configuration

History

Prior to 2011, the parser cache was solely memcached-based.

In 2011, we introduced the MySQL-based parser cache. See Parser cache expansion and Disk-backed object cache for details of the 2011 project.

In 2020, an additional local on-host Memcached tier was enabled for parser cache (T264604).