Manual:$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 43% complete.

Other languages:
English • ‎polski • ‎日本語
Squid: $wgVaryOnXFP
Whether to add X-Forwarded-Proto to the Vary and X-Vary-Options headers for API requests and RSS/Atom feeds.
導入されたバージョン:1.18.0
除去されたバージョン:使用中
許容される値:(真偽値)
既定値:false
その他の設定: アルファベット順 | 機能順

詳細

Whether to add X-Forwarded-Proto to the Vary and X-Vary-Options headers 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.