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

Improve performance of tours

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.2
    • Fix Version/s: None
    • Component/s: User Tours
    • Labels:

      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

            Assignee:
            Unassigned Unassigned
            Reporter:
            dobedobedoh Andrew Lyons
            Participants:
            Component watchers:
            Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: