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

Allow core/storagewrapper to store content with cachejs = false

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • 4.3
    • JavaScript
    • None

    Description

      When working with and writing code that uses core/localstorage or core/sessionstorage, you can only test the caching component of the code by disabling cachejs. This is irritating and sucks.

      Rather than disabling caching when we are not caching js, we should use a cache key for the current date. I'd suggest we round down to the nearest 10 seconds so that it's possible to fetch content out again too.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dobedobedoh Andrew Lyons
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Clockify

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