Manual:$wgMemc
Appearance
This feature was removed completely in version 1.36.0. |
Global object: $wgMemc | |
---|---|
The global variable used to access the main cache. | |
Deprecated in: | 1.35.0 |
Removed in: | 1.36.0 |
Class: | ObjectCache |
Located in: | ObjectCache.php |
$wgMemc is the global variable used to access the main cache. It is set in Setup.php :
$wgMemc = ObjectCache::getLocalClusterInstance();
wfGetMainCache()
[edit](deprecated in 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.