Manual:$wgRevisionCacheExpiry/zh

From Linux Web Expert

Revision as of 02:02, 6 December 2023 by imported>FuzzyBot (Updating to match new version of source page)
(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>(整数)
<translate> Default value:</translate>86400 * 7 (MediaWiki 1.28+)
0 (1.8-1.27)

详情

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.

变更

Prior to MediaWiki 1.28 this setting defaulted to 0.