Manual:Cache/pt

MediaWiki is a very complex web-application, which means that it can take some time to render pages. To mitigate these costs, many MediaWiki administrators install one of many caching solutions.

Localisation caching

 * Novo em 1.16

After finding out that a large number of the cached objects above were interface messages, the bits of text that are not content, an advanced localisation cache was introduced. It uses the database table by default. Set in  to a valid path to use a local caching instead. See for more details.

Anecdotally, this one change worked wonders for my low use intranet wiki. www-data is the user for Apache on Ubuntu/Debian. Specify your actual webserver user:group, e.g. on Gentoo you would put apache:apache instead of www-data:data:

add this to LocalSettings.php:

Ver também

 * The in-process RFC for Master & slave datacenter strategy describes "Some changes would be needed to MediaWiki development standards" related to caching, POSTs, job queues...
 * Cache strategy (old)
 * Wikimedia servers
 * PHP caching and optimization
 * - Optional simplistic scheme for caching the rendered HTML of article pages.
 * Guide about object cache with Saetta Web Server and Mediawiki
 * - Optional simplistic scheme for caching the rendered HTML of article pages.
 * Guide about object cache with Saetta Web Server and Mediawiki