Manual:$wgMainCacheType
From MediaWiki.org
| 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 or APC, whichever is available
- CACHE_DBA - Use PHP's DBA extension to store in a DBM-style database

