Manual:$wgMainCacheType

From MediaWiki.org

Jump to: navigation, search
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


[edit] Details

Object cache setting. Replaces $wgUseMemCached.

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

  • CACHE_ANYTHING - Use anything, as long as it works
  • CACHE_NONE - Do not cache
  • CACHE_DB - Store cache objects in the DB
  • CACHE_MEMCACHED - memcached, must specify servers in $wgMemCachedServers
  • CACHE_ACCEL - eAccelerator, mmTurck, APC or XCache, whichever is available
  • CACHE_DBA - Use PHP's DBA extension to store in a DBM-style database

[edit] See also