I manage a small installation of moodle 1.9 in a shared hosting. The performance is very poor, even if there are few users logged in.
I've done this workarround to improve the performance. I avoid file.php execution to serve some files:
- New folder named 'public' inside course files
- New folder named 'moodleimages' inside root server.
- Symbolic links from moodleimages/course_id to moodledata/course_id/public
- htaccess redirection:
RewriteRule ^file.php/([0-9]+)/public/(.*)$ /moodleimages/$1/$2 [QSA,L]
Now, teachers leave all the stuff that they don't need to be private inside public folder. And htaccess does the job to serve the file as static, without calling file.php. We have some courses with > 20 images among all chapters summaries, and now, are shown immediatly.
What do you think about this solution? What other actions do you recomend? (We are planning to migrate to a VS in a month).