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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a bug
    • Affects Version/s: 3.1.6, 3.2.3, 3.3, 3.3.1, 3.3.2, 3.3.3, 3.4
    • Fix Version/s: None
    • Component/s: Dashboard (My home)
    • Labels:
    • Affected Branches:
      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

              • Votes:
                16 Vote for this issue
                Watchers:
                15 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: