Manual:$wgMessageCacheType/de-formal

From Linux Web Expert

Revision as of 22:33, 21 December 2023 by imported>FuzzyBot (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> Message Cache</translate>: $wgMessageCacheType
Message cache setting
<translate> Introduced in version:</translate>1.5.0
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(One of the CACHE constants (see below))
<translate> Default value:</translate>CACHE_ANYTHING

Details

Message cache setting.

Here are the available CACHE constants, as defined in Defines.php

  • CACHE_ANYTHING - Use anything, as long as it works
  • CACHE_NONE - Do not cache
  • CACHE_DB - Store cache objects in the DB
  • CACHE_MEMCACHED - memcached , must specify servers in $wgMemCachedServers
  • CACHE_ACCEL - APCu or WinCache whichever is available

Note

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.

See also