User:Gordon/Free Geek Wiki Upgrades

From FreekiWiki
< User:Gordon
Revision as of 10:49, 4 October 2009 by Gordon (talk | contribs)
Jump to navigation Jump to search

Problem

The wiki is slow, especially when saving pages.

Solutions

PHP opcode caching

Install a PHP opcode cache and give it 32-64MB of RAM. I use APC on umasswiki.com, APC has the advantage of direct support by Mediawiki. Umasswiki.com is a wiki that gets 200K or more hits a month on a VPS with 360MB of RAM. I gave APC 48MB for its cache and noticed a very significant speed increase after it was installed. Looking at my stats, there is a 99.7% cache hit rate on my installation, and I am running other PHP apps in addition to Mediawiki. So, 48MB should be more than sufficient for APC on Free Geek's Mediawiki virtual server.