Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-57249

Improve performance of tours

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.2
    • None
    • User Tours

    Description

      MDL-56553 found a performance regression when viewing a page for the first time.

      We should be able to modify the tours to:

      1. always bootstrap the JS for tours
      2. fetch the tour configuration via AJAX

      This will move the DB query to the AJAX call.
      We can run a basic query to determine whether there are any tours for that page (whether they match or not) so that we don't call the JS on every page.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dobedobedoh Andrew Lyons
            Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: