file.php and performance

file.php and performance

by Kirsty Trigg -
Number of replies: 0

We are using moodle to serve some largish web pages.

The html pages are small, however they may have up to 50/60k image files, and 75k (or more) javascript files.

Uncached pages are causing us considerable performance problems, as the images take a long time to download, and javascript to move objects around happens as and when the files download.  The result is a fairly painful process to watch.

Pinpointing the problem to the download via file.php, I am wondering if there is any way to optimise the process.  I have already done a rough and ready "comment out" of the security and filtering code, however this still leaves us with an overall download time of over 10 seconds.

I'm wondering if there is any way to speed this all up. 

One possibility is to point moodle at a moodledata directory that can server the pages directly via http.  I am thinking of handling the security using windows authentication, and making use of ldap.

Does anyone have anything else they can offer, or any experience of using ldap in this way?

Average of ratings: -