virtualMachinemediawiki

Activate the MediaWiki cache

Enable page caching by adding the following entries to the end of the /opt/bitnami/apps/mediawiki/htdocs/LocalSettings.php file:

$wgUseFileCache = true; /* default: false */
$wgFileCacheDirectory = "$IP/cache";
$wgShowIPinHeader = false;

Execute this command to set proper directory permissions:

$ sudo chmod g+w /opt/bitnami/apps/mediawiki/htdocs/cache

For more information, refer to these resources:

Last modification September 4, 2018