Is there a way to cache SCORM modules to make them faster

Is there a way to cache SCORM modules to make them faster

by David North -
Number of replies: 3

Is there any extra development on moodle I can do or look into in order to make the SCORM modules load faster?


We have SCORM packages that are made from articulate and are over 100Mb. Sometimes the modules don't fully load properly and the sound doesn't work and stuff like that.

Average of ratings: -
In reply to David North

Re: Is there a way to cache SCORM modules to make them faster

by Matteo Scaramuccia -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

Hi David,
give https://docs.moodle.org/29/en/Performance_recommendations a read and then IMHO you need to:

  1. Use SSD disks, especially for the DB server
  2. Tune your DB server to host the database of your Moodle instance "mostly" in the server RAM
  3. Run an opcode cache where PHP is interpreted
  4. Install X-Sendfile
  5. Last but not least add a Reverse Proxy in front of your Moodle instance, configured to best work with ETag

HTH,
Matteo

Average of ratings: Useful (1)
In reply to Matteo Scaramuccia

Re: Is there a way to cache SCORM modules to make them faster

by Dan Marsden -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Plugins guardians Picture of Testers Picture of Translators

Ideally you should start with Matteo's list because that will also improve overall performance of the site.

you could also look at using the "external package type" option listed here:

https://danmarsden.com/blog/2012/11/01/managing-scorm-content-in-moodle-2/

this will allow your web-server to serve the files directly rather than going through the Moodle file handler, but it has a number of short-comings and you need to be very careful with the security of the web-server. It's also harder to maintain the packages as you will need to upload them directly to the web-server rather than managing them through Moodle.

Average of ratings: Useful (1)
In reply to David North

Re: Is there a way to cache SCORM modules to make them faster

by Sam Stevens -

As well as the other suggestions I would look at the content itself.

Why is it 100mb? Are there unnecessarily large assets in the project? Can you shrink images etc... without losing fidelity? Is there a way to split it into 2-3 separate packages?