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

Cache admin UI: make it easy re-purge the cache you just purged

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.8
    • 3.5.5, 3.6.3
    • Caching
    • MOODLE_35_STABLE, MOODLE_36_STABLE
    • MOODLE_38_STABLE
    • Hide
      1. Log in as admin.
      2. Go to Admin -> Plugins -> Caching -> Configuration
      3. Click on the Purge link by a store.
      4. Verify the confirmation notice at the top tells you which store was purged, and has a "Purge again" link.
      5. Verify that the "Purge again" link works.
      6. Click on the Purge link by a cache definition.
      7. Verify the confirmation notice at the top tells you which cache was purged, and has a "Purge again" link.
      8. Verify that the "Purge again" link works.
      Show
      Log in as admin. Go to Admin -> Plugins -> Caching -> Configuration Click on the Purge link by a store. Verify the confirmation notice at the top tells you which store was purged, and has a "Purge again" link. Verify that the "Purge again" link works. Click on the Purge link by a cache definition. Verify the confirmation notice at the top tells you which cache was purged, and has a "Purge again" link. Verify that the "Purge again" link works.

      When doing mobile development of plugins, you need to purge the tool_mobile/plugininfo every time you change the CSS.

      You can just use Purge all caches, but that is horribly slow.

      Of you can go to the cahce admin page, find the right 'Purge' link in the middle of the page (which is slow) but then the actual purging is faster.

      It occurred to me that there are probably other cases, when you are tring to fix a specific thing, where you might need to purge the same cache a few times in a row. Therefore, I propose to change the "Successfully purged the requested definition." Notification to instead say something like "Successfully purged the "This stores the list of plugins with mobile addons (tool_mobile/plugininfo) cache. Purge again."

        1. MDL-65492_step#5.mp4
          656 kB
        2. MDL-65492_step#8.mp4
          702 kB
        3. MDL-65492.jpg
          MDL-65492.jpg
          31 kB

            timhunt Tim Hunt
            timhunt Tim Hunt
            Damyon Wiese Damyon Wiese
            Adrian Greeve Adrian Greeve
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day
                1d

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