From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:WANObjectCache.php and the translation is 38% complete.
Other languages:
English • ‎español • ‎polski • ‎日本語


A new MediaWiki cache system that is replacing some previous caching systems including database and local object cache (including PHP accelerators).

Enabling WANObjectCache in your wiki

If $wgMainWANCache is left as the default of false, the cache will default to what is set by $wgMainCacheType.


Use WANObjectCache in your code

See the doxygen documentation, which contains a class overview, method use cases and examples, and parameter documentation.