Manual:$wgImagePreconnect
Appearance
ファイルとファイル アップロード: $wgImagePreconnect | |
---|---|
Add a preconnect link for browsers to a remote FileRepo host.. |
|
導入されたバージョン: | 1.35.0 (Gerrit change 570788; git #0a3aa08b) |
除去されたバージョン: | 使用中 |
許容される値: | (真偽値) |
既定値: | false |
その他の設定: アルファベット順 | 機能順 |
詳細
Add a preconnect link for browsers to a remote FileRepo host.
This is an optional performance enhancement designed for wiki farm where $wgForeignFileRepos
or $wgLocalFileRepo
is set to serve thumbnails from a separate hostname (e.g. not local "/w/images").
The feature expects at most a single remote hostname to be used.
If multiple foreign repos are registered that serve images from different hostnames, only the first will be preconnected.
This may cause unneeded HTTP connections in browsers on wikis where a foreign repo is enabled but where a local repo is more commonly used.