Movatterモバイル変換


[0]ホーム

URL:


Jump to content
MediaWiki
Search

Manual:$wgUseCdn

From mediawiki.org
Translate this page
Languages:
HTTP proxy (CDN) settings: $wgUseCdn
Enable/disable page view caching.
Introduced in version:1.34.0 (Gerrit change 387877;git #f9f8dff4)
Removed in version:Still in use
Allowed values:(boolean)
Default value:false
Other settings:Alphabetical |By function

Details

[edit]

Enable/disablepage view caching.Cdn configuration causes the following changes in behaviour:

  • TheCache-Control header is changed to allow the cache proxy to blindly cache content for a predetermined period of time (configured by$wgCdnMaxAge).
  • TheLast-Modified header is artificially shortened to ensure the cache proxy will not renew outdated HTML beyond a certain age. TheLast-Modified date 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$wgCdnServers.

Sending purge requests requires thesockets PHP extension.
Retrieved from "https://www.mediawiki.org/w/index.php?title=Manual:$wgUseCdn&oldid=5069028"
Categories:

[8]ページ先頭

©2009-2025 Movatter.jp