Forum Discussion

IanTaylor-16976's avatar
IanTaylor-16976
Community Member
4 years ago

Captions causing very slow initial load

Hi,

We have a course developed in storyline that has audio on each slide, along with captions. When loading the file in the browser / via an LMS the initial load is very slow, after inspecting the network tab we noticed 100+ requests to *_captions.js files, and course won't begin until all the files have completed loading.

Has anyone run into this? and is there a solution to prevent storyline from pre-loading all of these files and instead load them when needed?

Thanks!

  • Hi Ian,

    Thanks for reaching out and sharing that image of what you're seeing in the output! Do you have anything out of the ordinary, such as Javascript, in your slides?

    Caption.js files don't usually get generated, so if you're able to share your file with our team, we can dig in and figure out what is happening here!

    Share your file with us.
  • Hi Ren,

    Thanks for the response and sorry for the delay.

    The course doesn't have any out of the ordinary Javascript. I have included a simple .story file  with 2 slides which have captions enabled, publishing this file for the web will generate 2 *_captions.js files which are loaded during the initial load.

    We ended up developing a script that combines all the caption files into a single file which means we only need to wait for 1 file to load vs 100+ for our large course. This brought the course from taking ~60 seconds to load down to ~10 seconds.

     

     

    • ClintonOtte-For's avatar
      ClintonOtte-For
      Community Member

      Hi @Ian,

      Just ran into this issue today with a client's SCORM. Would you be able to share your solution?

      I see in a parallel post (Course taking forever to load because of captions) that another user also suggested updating the "LMS server from HTTP/1.1* to HTTP/2" because "it's much faster for multiple small files"

      Also @RenGomez  - it looks like a user in yet another parallel post (Is there any way to tell an LMS to NOT load all resources (images, videos etc) in the beginning?) asked about not pre-loading all resources on launch of the SCORM. Is this a possibility as well? 
       
      Thanks for any info you all have!

      • LaurenDuvall's avatar
        LaurenDuvall
        Staff

        Hello Clinton!

        I am not sure if Ian is still subscribed to this discussion to offer a solution on upgrading the LMS server.

        As of now, I haven't heard of a way to not preload all resources when launching the SCORM package but someone in the community might have a way to manipulate this! You can also reach out to our Support Engineers in a support case if you need help troubleshooting this in Storyline!

  • Hi Ian,

    Thanks for following up and sharing how you figured it out! 60 seconds to 10 seconds is a great improvement.

    If you're able to share the script for other members that come across this issue, I'm sure it'll be of huge help!

  • RobbyMorgan's avatar
    RobbyMorgan
    Community Member

    Our organization is activating captions for each of our courses, and we're noticing a substantial impact on the course loading time for the reasons discussed here.  (Our courses are served by a standard web server using the HTML5 publishing format.)

    Is there some functional reason why the captions for every slide must be loaded upfront before the user can start the course?  I would expect them to be loaded alongside the audio/visuals and other slide resources as discussed in How Course Content Is Preloaded.

    • KellyAuner's avatar
      KellyAuner
      Staff

      Hi RobbyMorgan,

      Thanks for reaching out about this. I've opened a case on your behalf so our Support Engineers can help you out! You'll be hearing from them shortly via email.