Manual:$wgParserCacheType/zh

详情
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
 * - APC, or WinCache, whichever is available, in this order. Determined by the function "ObjectCache::newAccelerator".

注释
For a very large wiki (tens of thousands of pages) value of  might be preferable to. 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 then the values for $wgParserCacheType and  will inherit it. If no cache choice is configured (by default  is  ), then   will forward to.

