Manual:$wgUseSquid
Appearance
この機能は、バージョン 1.35.0 で MediaWiki コアから除去されました。
この機能を使用するための代替方法については $wgUseCdn を参照してください。 |
| HTTP プロキシ (CDN) 設定: $wgUseSquid | |
|---|---|
| Squid の有効/無効を切り替える。 |
|
| 導入されたバージョン: | 1.2.0 |
| 廃止予定になったバージョン: | 1.34.0 (Gerrit change 387877; git #f9f8dff4) |
| 除去されたバージョン: | 1.35.0 (Gerrit change 579755; git #e8d9d68b) |
| 許容される値: | (真偽値) |
| 既定値: | false |
| その他の設定: アルファベット順 | 機能順 | |
詳細
Squid の有効/無効を切り替えます。 Squid configuration causes the following changes in behaviour:
- The
Cache-Controlheader is changed to allow the cache proxy to blindly cache content for a predetermined period of time (configured by $wgSquidMaxage). - The
Last-Modifiedheader is artificially shortened to ensure the cache proxy will not renew outdated HTML beyond a certain age. TheLast-Modifieddate will never be older than $wgSquidMaxage. This will allow to refresh the cached copy in case there were changes to footer icons, sidebar, skin update, and other configuration or skin-level changes not tracked by the wiki page itself. - Purges are sent to ensure content edited by users remains up to date immediately.
更新の際にキャッシュ破棄される Squid サーバーの一覧は、$wgSquidServers に格納してください。
Sending purge requests requires the sockets PHP extension.