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

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

XMLWordPrintable

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

      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.  

            Unassigned Unassigned
            amr Amr
            Votes:
            16 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.