Manual:$wgCdnMatchParameterOrder

Details
Set this to if MediaWiki is behind a CDN that re-orders query parameters on incoming requests. MediaWiki sets a large  directive on page views only if the request URL matches one of the normal CDN URL forms. When this setting is, the matching algorithm ignores the order of URL parameters.