Manual:$wgMainCacheType

From MediaWiki.org
Jump to: navigation, search

Other languages:
English • ‎français • ‎日本語
Cache: $wgMainCacheType
Object 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_NONE
Other settings: Alphabetical | By function

Details[edit]

Object cache setting which replaced $wgUseMemCachedManual:$wgUseMemCached.

Here are the keys available by default (defined as constants in Defines.php):

See Manual:$wgObjectCachesManual:$wgObjectCaches for an example of a custom backend (e.g. Redis).

Note Note:

Note Note: Since MediaWiki 1.27, PHP sessions are stored in a cache, depending on the variable of this setting, unless overridden by $wgSessionCacheTypeManual:$wgSessionCacheType. This may cause problems when CACHE_ACCEL is used. (task T147161)

See also[edit]