Manual:WANObjectCache.php

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎español • ‎polski • ‎日本語

Details[edit]

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[edit]

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

Compatibility[edit]

Use WANObjectCache in your code[edit]

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