Manual:$wgSquidMaxage/de-formal
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed from MediaWiki core in version <tvar name=ver>1.35.0</tvar>.</translate> <translate> Please see <tvar name=page>$wgCdnMaxAge</tvar> for an alternative way to use this feature.</translate> |
<translate> HTTP proxy (CDN) settings</translate>: $wgSquidMaxage | |
---|---|
Cache timeout for the squid. |
|
<translate> Introduced in version:</translate> | 1.2.0 |
<translate> Deprecated in version:</translate> | 1.34.0 (Gerrit change 387877; git #f9f8dff4) |
<translate> Removed in version:</translate> | 1.35.0 (Gerrit change 579755; git #e8d9d68b) |
<translate> Allowed values:</translate> | (integer) |
<translate> Default value:</translate> | 18000 |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
Details
Cache timeout for the squid, will be sent as s-maxage (without ESI) or Surrogate-Control (with ESI). Without ESI, you should strip out s-maxage in the Squid config. 18000 seconds = 5 hours, more cache hits with 2678400 = 31 days.
Categories:
- MediaWiki configuration settings/de-formal
- MediaWiki configuration settings introduced in version 1.2.0/de-formal
- MediaWiki configuration settings deprecated in version 1.34.0/de-formal
- MediaWiki configuration settings removed in version 1.35.0/de-formal
- Pages with broken file links
- MediaWiki deprecated or obsolete features/de-formal
- Squid variables/de-formal