Podręcznik:$wgCachePrefix

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgCachePrefix and the translation is 22% complete.

Other languages:
Deutsch • ‎English • ‎español • ‎polski • ‎português • ‎日本語
Cache: $wgCachePrefix
Custom value for the cache key prefix.
Wprowadzono w wersji:1.19.0
Usunięto w wersji:nadal w użyciu
Dozwolone wartości:(string) or false
Domyślna wartość:false
Inne ustawienia: Alfabetycznie | Według funkcji

Szczegóły

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:[...]"