Manual:$wgCdnMatchParameterOrder
Appearance
HTTP proxy (CDN) settings: $wgCdnMatchParameterOrder | |
---|---|
Indicates if should take query parameters order on incoming requests into account for CDN caching |
|
Introduced in version: | 1.39.0 (Gerrit change 820905; git #a8717756) |
Removed in version: | Still in use |
Allowed values: | (boolean) |
Default value: | true |
Other settings: Alphabetical | By function |
Details
[edit]Set this to false
if MediaWiki is behind a CDN that re-orders query parameters on incoming requests.
MediaWiki sets a large Cache-Control: s-maxage=
directive on page views only if the request URL matches one of the normal CDN URL forms.
When this setting is false
, the matching algorithm ignores the order of URL parameters.