Manual:$wgRevisionCacheExpiry

From Linux Web Expert

Revision as of 00:59, 11 April 2021 by imported>Shirayuki (update section per DefaultSettings.php)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> Content handlers and storage</translate>: $wgRevisionCacheExpiry
Cache extracted revision text in MemCached.
<translate> Introduced in version:</translate>1.8.0 (r16549)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(integer)
<translate> Default value:</translate>86400 * 7 (MediaWiki 1.28+)
0 (1.8-1.27)

Details

Revision text may be cached in the main WAN cache to reduce load on external storage servers and object extraction overhead for frequently-loaded revisions.

Set to 0 to disable, or number of seconds before cache expiry.

Changes

Prior to MediaWiki 1.28 this setting defaulted to 0.