Manual:$wgVaryOnXFP/de-formal

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
<translate> HTTP proxy (CDN) settings</translate>: $wgVaryOnXFP
Whether to add X-Forwarded-Proto to the Vary header for API requests and RSS/Atom feeds.
<translate> Introduced in version:</translate>1.18.0
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(boolean)
<translate> Default value:</translate>false

Details

Whether to add X-Forwarded-Proto to the Vary header for API requests and RSS/Atom feeds.

Use this if you have an SSL termination setup and need to split the cache between HTTP and HTTPS for API requests, feed requests and HTTP redirect responses in order to prevent cache pollution.

This does not affect 'normal' requests to index.php other than HTTP redirects.

See also