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

Move grade_categories cache definition to MODE_SESSION with invalidationevents flag

XMLWordPrintable

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

      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.

            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

              Created:
              Updated:
              Resolved:

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