Jump to content

Manual:$wgVaryOnXFP/fr

From mediawiki.org
This page is a translated version of the page Manual:$wgVaryOnXFP and the translation is 25% complete.
Paramètres de proxy HTTP (CDN): $wgVaryOnXFP
Whether to add X-Forwarded-Proto to the Vary header for API requests and RSS/Atom feeds.
Introduit dans la version :1.18.0
Retiré dans la version :Encore utilisé
Valeurs autorisées :(boolean)
Valeur par défaut :false

Détails

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.

Voir aussi