Manual:$wgCachePrefix

Category:MediaWiki configuration settings#CachePrefixCategory:MediaWiki configuration settings introduced in version 1.19.0#CachePrefixCategory:MediaWiki configuration settings still in use#CachePrefixCategory:Profiling, testing and debugging variables#CachePrefix
Profiling, testing and debugging: $wgCachePrefix
Custom value for the cache key prefix.
Introduced in version:1.19.0
Removed in version:Still in use
Allowed values:(string) or false
Default value:false

Details

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 Category:MediaWiki configuration settings introduced in version 1.19.0 Category:MediaWiki configuration settings still in use Category:Profiling, testing and debugging variables