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

Move grade_categories cache definition to MODE_SESSION with invalidationevents flag

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1
    • Component/s: Caching, Gradebook
    • Labels:

      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

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  23/May/16