Manual:$wgMainWANCache

From Linux Web Expert

Revision as of 10:35, 19 March 2023 by imported>Mainframe98
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<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

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.