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

Expose and encourage use of canuselocalstore in MUC config

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Visit 'Site administration' > 'Plugins' > 'Caching' > 'Configuration'.
      2. In the 'Known cache definitions' look for 'List of available languages'.
      3. Confirm under the column 'Can use local store' it says 'Yes'.
      Show
      Visit 'Site administration' > 'Plugins' > 'Caching' > 'Configuration'. In the 'Known cache definitions' look for 'List of available languages'. Confirm under the column 'Can use local store' it says 'Yes'.
    • Affected Branches:
      MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-60341_master

      Description

      The ability for certain cache stores to be local to each front end, ie canuselocalstore = true, has potentially massive performance gains (eg just moving lang strings alone to local can be a big boost). But this is a fairly hidden feature, you can only see this in the cache admin gui when you drill down into each cache store item.

      I'd like to see whether this is true or false for all cache definitions up front on the master muc admin page so you can make sure they are all mapped to local caches where possible.

      Also there is zero moodle dev docs for people implementing cache definitions to allow them to take advantage of this correctly.

      https://docs.moodle.org/dev/Cache_API

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  18/Nov/19

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 30 minutes
                  30m