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

Cache the instance object in cm_info

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.3
    • Fix Version/s: None
    • Component/s: Course, Performance
    • Labels:

      Description

      We have pretty good caching for course modinfo and cm_info for each module.
      There are situations in code where we need the full instance object (for example record from table 'assign' or 'forum', etc.).

      Caching instance inside cm_info would be a good performance improvement

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              marina Marina Glancy
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Matteo Scaramuccia, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: