|Enable/disable page view caching.
|Introduced in version:||1.34.0 (Gerrit change 387877; )|
|Removed in version:||still in use|
|Other settings: Alphabetical | By function|
Enable/disable page view caching. Cdn configuration causes the following changes in behaviour:
Cache-Controlheader is changed to allow the cache proxy to blindly cache content for a predetermined period of time (configured by $wgCdnMaxAge).
Last-Modifiedheader is artificially shortened to ensure the cache proxy will not renew outdated HTML beyond a certain age. The
Last-Modifieddate will never be older than $wgCdnMaxAge. This will allow to refresh the cached copy in case there were changes to footer icons, sidebar, skin update, and other configuration or skin-level changes not tracked by the wiki page itself.
- Purges are sent to ensure content edited by users remains up to date immediately.
The list of Cdn servers to be purged on update must be stored in
Sending purge requests requires the sockets PHP extension.