Handbuch:$wgMessageCacheType
Appearance
| Nachrichten-Cache: $wgMessageCacheType | |
|---|---|
| Message cache setting |
|
| Eingeführt in Version: | 1.5.0 |
| Entfernt in Version: | Weiterhin vorhanden |
| Erlaubte Werte: | (One of the CACHE constants (see below)) |
| Standardwert: | CACHE_ANYTHING |
| Andere Einstellungen: Alphabetisch | Nach Funktion | |
Details
Message cache setting.
Here are the available CACHE constants, as defined in Defines.php
CACHE_ANYTHING- Use anything, as long as it worksCACHE_NONE- Do not cacheCACHE_DB- Store cache objects in the DBCACHE_MEMCACHED- memcached, must specify servers in $wgMemCachedServersCACHE_ACCEL- APC, APCu, or WinCache (WinCache is only supported by MediaWiki ≤1.42), whichever is available
Anmerkung
If you set $wgMainCacheType then the values for $wgParserCacheType and $wgMessageCacheType will inherit it. You do not need to set those variables unless you plan on doing something very advanced.