User:Aaron Schulz/How to make MediaWiki fast

1. Install eaccelarator

2. Set up a crontab or shell script to run jobs (like this for example)

3. To localsettings.php, add:  /***********OPTIMIZED***********/ $wgMainCacheType = CACHE_ACCEL; $wgMessageCacheType = CACHE_ACCEL; $wgParserCacheType = CACHE_DB; $wgMemCachedServers = array; $wgShowIPinHeader = false; $wgUseFileCache = true; $wgUseGzip = true; $wgJobRunRate = 0; $wgDisableCounters = true; $wgMiserMode = true; /***********/  4. Set $wgFileCacheDirectory
 * 1) Shared memory settings
 * 1) File cache!
 * 1) Use runners!
 * 1) NO DB HITS!

5. You can set up Memcached. Is so, set $wgParserCacheType = CACHE_MEMCACHED in localsettings.php instead

6. Run maintenance/rebuildFileCache.php