Manual:$wgCachePrefix/zh

Category:MediaWiki configuration settings/zh#CachePrefixCategory:MediaWiki configuration settings introduced in version 1.19.0/zh#CachePrefixCategory:MediaWiki configuration settings still in use/zh#CachePrefixCategory:Profiling, testing and debugging variables/zh#CachePrefix
分析、测试和调试: $wgCachePrefix
Custom value for the cache key prefix.
引进版本: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:[...]"

Category:MediaWiki configuration settings/zh Category:MediaWiki configuration settings introduced in version 1.19.0/zh Category:MediaWiki configuration settings still in use/zh Category:Profiling, testing and debugging variables/zh