Hi all,
We have a few problems with our site (3.0.2 - will upgrade to 3.2 soon, on 3 load balanced web servers, one containing the moodledata share point)
Is there any particular reason that the requirejs timeout is hard-coded as 7 seconds (it is also non-configurable and I had to "hack" it to increase it to 50 seconds)?
In many of our quizzes, the first.js file called by requirejs does not even begin to load after 7 seconds (and the timeout error occurs), because hundreds of images are still loading. The pluginfile.php files are particularly slow, in comparison to images that we store in a separate folder and bypass the pluginfile.php mechanism. We have already divided the quiz into many pages, and reduced file sizes as much as possible. First.js does not time out in other pages, or smaller quizzes.
So I have 2 questions:
1. Is there any way that pluginfile.php can access images from the moodledata directory, without relying on one shared point? Can performance be improved, or pluginfile.php be disabled completely?
2. Isn't it a bit dangerous to assume that a 7 second timeout is perfect for all websites? Especially when people have slower internet connections, I can imagine lots of javascript errors would occur.
Thank you.