Increasing the amount of ram on your web server is the most effective and fastest way of improving the overall performance of Moodle. If you are a regular user, get as much RAM as possible (e.g., 4GB and more). Increasing primary memory will reduce the overall requirement for processes to swap to disk and will help your local server to handle more users without getting slowed down.