Manual:Cache

MediaWiki has several caches layers:


 * Object caching
 * This allow to reduce load on the database server and also cache expensives operations, like parsing pages, generating diffs, ...
 * It is controlled by:
 * $wgMainCacheType for generic caches
 * $wgParserCacheType for parser cache
 * $wgMessageCacheType for interface messages cache


 * File cache
 * It allows to cache the rendered HTML of article pages, but it only works for anonymous users and page views.


 * Squid
 * MediaWiki can interact with squid caches.
 * See Manual:Squid caching.

Some caches, such as Squid, file cache and parser cache can be bypassed by requesting a page with. Users without 'purge' right will need to confirm that.