Open main menu

Manual:$wgCdnMaxAge

This page is a translated version of the page Manual:$wgCdnMaxAge and the translation is 29% complete.

Other languages:
English • ‎magyar • ‎日本語
Squid: $wgCdnMaxAge
Cache TTL for the CDN sent as s-maxage (without ESI) or Surrogate-Control (with ESI).
導入されたバージョン:1.34.0 (Gerrit change 387877; git #f9f8dff4)
除去されたバージョン:使用中
許容される値:(整数)
既定値:false

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.