Jump to content

Handbuch:$wgCdnMaxAge

From mediawiki.org
This page is a translated version of the page Manual:$wgCdnMaxAge and the translation is 38% complete.
Einstellungen für den HTTP-Proxy (CDN): $wgCdnMaxAge
Cache TTL for the CDN sent as s-maxage (without ESI) or Surrogate-Control (with ESI).
Eingeführt in Version:1.34.0 (Gerrit change 387877; git #f9f8dff4)
Entfernt in Version:Weiterhin vorhanden
Erlaubte Werte:(Ganzzahl)
Standardwert:18000

Details

Cache timeout for page view caching, will be sent as s-maxage (without ESI) or Surrogate-Control (with ESI). Without ESI, you should strip out s-maxage in the Cdn config. 18000 seconds = 5 hours, more cache hits with 2678400 = 31 days.

This variable was renamed from $wgSquidMaxage in MediaWiki 1.34.