Thursday, September 4, 2008

Settings I used to speed up mediawiki

After installing APC I used the following settings


$wgMainCacheType = CACHE_ACCEL;
$wgEnableParserCache =
true;
$wgParserCacheType = CACHE_ACCEL; # optional
$wgMessageCacheType =
CACHE_ACCEL; # optional
$wgMemCachedServers = array( "xxx.xxx.xxx.xxx:11211"
);
$wgSessionsInMemcached = true; #
optional
$wgLocalMessageCache="/tmp/wikimessgcache";
$wgUseFileCache=true;
$wgUseFileCacheDirectory="/tmp/wikicache";
$wgShowIPinHeader=false;
$wgUseDatabaseMessages=false;
$wgDisableCounters=true;


Got most if not all the info from here: (http://meta.wikimedia.org/wiki/MediaWiki_FAQ)
and here: (http://www.mediawiki.org/wiki/Help:Configuration_settings#Cache)

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home