Jump to: navigation, search

Other languages:
English • ‎français • ‎日本語 • ‎polski • ‎русский
Message Cache: $wgMessageCacheType
Message cache setting
Introduced in version: 1.5.0
Removed in version: still in use
Allowed values: One of the CACHE constants (see below)
Default value: CACHE_ANYTHING
Other settings: Alphabetical | By function


Message cache setting.

Here are the available CACHE constants, as defined in Defines.php

Note Note: As of MediaWiki 1.18, current versions of eAccelerator no longer work. In MediaWiki 1.19 it will be removed.
  • CACHE_DBA (removed in 1.23) - Use PHP's DBA extension to store in a DBM-style database


If you set $wgMainCacheTypeManual:$wgMainCacheType then the values for $wgParserCacheTypeManual:$wgParserCacheType and $wgMessageCacheType will inherit it. You do not need to set those variables unless you plan on doing something very advanced.

See also[edit]