Podręcznik:$wgVaryOnXFP
HTTP proxy (CDN) settings: $wgVaryOnXFP | |
---|---|
Whether to add X-Forwarded-Proto to the Vary header for API requests and RSS/Atom feeds. |
|
Wprowadzono w wersji: | 1.18.0 |
Usunięto w wersji: | nadal w użyciu |
Dozwolone wartości: | (boolean) |
Domyślna wartość: | false |
Inne ustawienia: Alfabetycznie | Według funkcji |
Szczegóły
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.