Manual:$wgMemc
Appearance
この機能は、バージョン 1.36.0 で完全に除去されました。 |
| グローバル オブジェクト: $wgMemc | |
|---|---|
| The global variable used to access the main cache. | |
| 廃止予定になった時点のバージョン: | 1.35.0 |
| 除去された時点のバージョン: | 1.36.0 |
| クラス: | ObjectCache |
| 場所: | ObjectCache.php |
$wgMemc is the global variable used to access the main cache. It is set in Setup.php:
$wgMemc = ObjectCache::getLocalClusterInstance();
wfGetMainCache()
(1.32 で廃止予定)
Past global function wfGetMainCache() defined in Manual:GlobalFunctions.php as follows:
function wfGetMainCache() {
return ObjectCache::getLocalClusterInstance();
}
For documentation of the generic class instance it contains, see BagOStuff.