Manual:$wgMainCacheType/ja

詳細
Allows to configure the object cache used.

Here are the keys available by default (defined as constants in Defines.php):
 * – Use, or  if they are set to something other than   or  . Otherwise use.
 * – Do not cache (default).
 * – Store objects in the database table table. 警告: This could potentially be slower than no caching for.
 * – memcached, must specify servers in.
 * – APCu or WinCache if available.

See for an example of a custom backend (e.g. Redis).


 * It was stated that  directive will provide the most significant performance improvements in the case where you have memcached and an opcode cache installed.
 * This is just one of MediaWiki's caching settings. For best performance you may need to consider other caching settings. を参照してください.
 * Since MediaWiki 1.27, PHP sessions are stored in a cache, depending on the variable of this setting, unless overridden by . This may cause problems when  is used.
 * only supports APCu or WinCache since MediaWiki 1.31. XCache support was removed as upstream is inactive and has no plans to move to PHP 7.