This page collects various tips for speeding up your Ushahidi deployment. A lot of this will be general tricks that work with any website but they should be things your tried and tested with a live Ushahidi deployment. Many of these will require control of your server, or the cooperation of your web host.
xcache and APC are opcode caches for PHP. On ubuntu/debian you can install these by running
sudo apt-get install php-apc |
or
sudo apt-get install php5-xcache |
$config['default']['driver'] = 'memcache'; |
Alternatively you could use xcache for caching too, the setup process is similar.
Ushahidi's regular tasks are run by the controller for /scheduler. By default the scheduler controller is triggered through an ajax request on every page.
This means that for some users, the page will appear to load for a long time while the scheduler finishes running. You still need scheduler to run, you just don't want users to have to wait for it.
$config['output_scheduler_js'] = FALSE; |
* * * * * curl -s https://www.mydeployment.com/scheduler |
Deploying on nginx may be faster than apache, though this may depend on what else your hosting on your webserver.
See Installing Ushahidi v2.X on Nginx for details