Manual:$wgSquidMaxage

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
Deutsch • ‎English • ‎español • ‎polski • ‎português • ‎日本語
Squid: $wgSquidMaxage
Cache timeout for the squid.
Introduced in version:1.2.0
Removed in version:still in use
Allowed values:Unspecified
Default value:18000
Other settings: Alphabetical | By function

Details[edit]

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.