Manual:$wgImageHtmlCacheExpiry

From Linux Web Expert

Revision as of 06:02, 13 March 2021 by imported>Shirayuki
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> Cache</translate>: $wgImageHtmlCacheExpiry
Set to a number of seconds to cache the HTML associated with an image.
<translate> Introduced in version:</translate>1.4.0
<translate> Removed in version:</translate>1.4.1
<translate> Allowed values:</translate>(number)
<translate> Default value:</translate>0

Details

Set to a number of seconds to cache the HTML associated with an image. This is an emergency optimization feature and will cause lots of problems. It is recommended that the expiry be very short and that the users be warned.

This setting seems to have only been available in version 1.4.0.