howto fix slow mediawiki

December 17, 2007 by gregorgede · Leave a Comment
Filed under: Uncategorized 

The file cache is enabled by setting these variables in LocalSettings.php:

$wgUseFileCache = true;$wgFileCacheDirectory = "/tmp/yourcache";$wgShowIPinHeader = false;$wgUseGzip = false;

You need to manually create the top level cache directory and make sure Mediawiki can write to it:

$ mkdir -p /tmp/yourcache$ chmod -R 777 /tmp/yourcache


Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!