Movatterモバイル変換


[0]ホーム

URL:


Jump to content
MediaWiki
Search

Manual:$wgMessageCacheType

From mediawiki.org
Translate this page
Languages:
Message Cache: $wgMessageCacheType
Message cache setting
Introduced in version:1.5.0
Removed in version:Still in use
Allowed values:(One of the CACHE constants (see below))
Default value:CACHE_ANYTHING
Other settings:Alphabetical |By function

Details

[edit]

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 - APC, APCu, or WinCache (WinCache is only supported by MediaWiki ≤1.42), whichever is available

Note

[edit]

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

[edit]
Retrieved from "https://www.mediawiki.org/w/index.php?title=Manual:$wgMessageCacheType&oldid=7935839"
Categories:

[8]ページ先頭

©2009-2025 Movatter.jp