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

Move grade_categories cache definition to MODE_SESSION with invalidationevents flag

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 3.1
    • 3.1
    • Caching, Gradebook

    Description

      In MDL-48838 we moved grade_categories cache to MODE_REQUEST to prevent issues using MODE_SESSION as we could invalidate the user performing the grade_categories data update, but not another user's cache containing the same data that is invalidated. Eloy wisely commented about it in https://tracker.moodle.org/browse/MDL-48838?focusedCommentId=400500&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-400500.

      There is a preformance benefit in using session instead of request.

      Attachments

        Issue Links

          Activity

            People

              dmonllao David Monllaó
              dmonllao David Monllaó
              Andrew Lyons Andrew Lyons
              Dan Poltawski Dan Poltawski
              CiBoT CiBoT
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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