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

refactor includes to lower memory requirements

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Critical
    • Resolution: Won't Fix
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Administration
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE

      Description

      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

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            skodak Petr Skoda
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: