Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-23754 Performance improvements META
  3. MDL-26124

refactor includes to lower memory requirements

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Won't Fix
    • Icon: Critical Critical
    • None
    • 2.0
    • Administration
    • None
    • MOODLE_20_STABLE

      We are including way too much on most pages, one of the reasons is incorrect placements of include statements.

      Solution:
      1/ fix all activities to include stuff from locallib.php instead of lib.php
      2/ go through all settings and minimise the includes
      3/ go through all libs included from lib/setup.php and make sure they do nto include extra stuff
      4/ make plugin lib.php files smaller by using locallib.php
      5/ test, test, test - it is going to break big time because devs constantly forget the includes or put them to incorrect places

            Unassigned Unassigned
            skodak Petr Skoda
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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