Manual:$wgMainWANCache
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed from MediaWiki core in version <tvar name=ver>1.40.0</tvar>.</translate> <translate> Please see <tvar name=page>$wgWANObjectCache</tvar> for an alternative way to use this feature.</translate> |
<translate> Cache</translate>: $wgMainWANCache | |
---|---|
Main wide area network cache configuration. |
|
<translate> Introduced in version:</translate> | 1.26.0 (Gerrit change 187074; git #3a1f8b11) |
<translate> Removed in version:</translate> | 1.40.0 (Gerrit change 889244; git #39ead04e) |
<translate> Allowed values:</translate> | (array) |
<translate> Default value:</translate> | see below |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
Details
This should be set to a key from $wgWANObjectCaches
.
If not set at all, it would be set to 'mediawiki-main-default', using an implicit $wgWANObjectCaches
entry based on $wgMainCacheType
.
To actually broadcast purges to multiple cache servers, it must be set to an appropriate $wgWANObjectCaches
entry with purge relayer setup.