Jump to content

Manual:$wgCachePrefix

From mediawiki.org
This page is a translated version of the page Manual:$wgCachePrefix and the translation is 44% complete.
プロファイリング、テスト、デバッグ: $wgCachePrefix
キャッシュ キー接頭辞のカスタム値。
導入されたバージョン:1.19.0
除去されたバージョン:使用中
許容される値:(文字列) または false
既定値:false

詳細

Overwrite the caching key prefix with custom value. This value is prefixed to the beginning of caching keys to differentiate between caching entries for different wikis stored in the same cache.

If this variable is set to false (default), the cache key defaults to being DBName-DBPrefix (Also known as the Wiki id). This is almost always sufficient, and it is unlikely one would want to set this value.

e.g. "cache key: DBNAME:resourceloader:[...]" to "cache key: $wgCachePrefix:resourceloader:[...]"