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

Dashboard does not have hard-limit for number of courses - Performance issue

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Not a bug
    • 3.1.6, 3.2.3, 3.3, 3.3.1, 3.3.2, 3.3.3, 3.4
    • None
    • Dashboard (My home)
    • MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE

    Description

      Dashboard (block_myoverview) has cosmetic course limits via javascript. It, basically, loads all courses, activities, notifications etc in one go, and then they are hidden and toggled via paging/tabs. This causes huge performance dip when the user has more than 20 courses (in our case, some originally had 260+ courses and now 110+). Configuring cache for fast mod info by raising it beyond 10 becomes useless once the cache is huge and has an adverse side effect.

      Dashboard limits should be hard, and when navigating/paging, an xhr (similar to getnavbranch.php) should be added so to call on-demand rather than loading all in one page.  

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              amr Amr
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              16 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: