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

Allow each cache store instance to declare if it is local or shared

XMLWordPrintable

      If each store instance could declare itself as being local, either by detecting or via config, then the cache api could make some suggestions:

      1) If a cache definition is marked as canuselocalstore, and there happens to be instances of stores which are local but it isn't using them then it could suggest to use them

      2) If canuselocalstore is false and it is mapped to a local store then it could warn

      Some cache stores like APCu are always local and could be hard coded as such. Other stores like redis or files would need to be manually told in their configuration if they are local or shared. Ideally this toggle is part of the base store and APCu would override it.

            Unassigned Unassigned
            brendanheywood Brendan Heywood
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

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