Manual:$wgParserCacheType

Details
Parser cache setting.

Here are the available CACHE constants, as defined in Defines.php Use anything, as long as it works Do not cache Store cache objects in the DB memcached, must specify servers in 1>Manual:$wgMemCachedServers|$wgMemCachedServers APC, XCache or WinCache, whichever is available, in this order. Determined by the function ObjectCache::newAccelerator.
 * CACHE_ANYTHING -
 * CACHE_NONE -
 * CACHE_DB -
 * CACHE_MEMCACHED -
 * CACHE_ACCEL -



Use PHP's DBA extension to store in a DBM-style database
 * CACHE_DBA -

Note
For a very large wiki (tens of thousands of pages) value of CACHE_DB might be preferable to CACHE_MEMCACHED.

Although memcached is faster, it won't be able to cache everything (no reasonable amount of memory would be enough), while DB will be.

Therefore DB will have much higher percentage of cache hits.

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