Handbuch:$wgVaryOnXFP

From mediawiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgVaryOnXFP and the translation is 38% complete.
Other languages:
Einstellungen für den HTTP-Proxy (CDN): $wgVaryOnXFP
Whether to add X-Forwarded-Proto to the Vary header for API requests and RSS/Atom feeds.
Eingeführt in Version:1.18.0
Entfernt in Version:weiterhin vorhanden
Erlaubte Werte:(boolean)
Standardwert: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.

Siehe auch