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

Add some brief information about the type of cache (App, Sess, Req) in the footer

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.9
    • Component/s: Caching
    • Labels:
    • Testing Instructions:
      Hide
      1. Ensure performance information is turned on in debugging.
      2. Browse to your site.
      3. Observe that there is now an [a], [s], or [r] after each definition name in the cache stats.
      4. Mouse over each and make sure it tells you what mode it was operating in.
      Show
      Ensure performance information is turned on in debugging. Browse to your site. Observe that there is now an [a] , [s] , or [r] after each definition name in the cache stats. Mouse over each and make sure it tells you what mode it was operating in.
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE
    • Pull Master Branch:
      39459-29
    • Pull Master Diff URL:

      Description

      When using custom instances of caches, it's possible to, for example, create a memcached instance and name it "mymemcached".

      Later you can assign (map) that instance to be used by both application and session caches.

      Then, in the "Caches used (hits/misses/sets)" footer information, there is no way to know which type of cache (Application, Session, Request) is each box. All you get is "mymemcached".

      So this is about to add something, perhaps A, S, R is enough, to know quickly the "mode" each instance is running on each box.

      Not critical, but useful... IMO, for your consideration, ciao

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              samhemelryk Sam Hemelryk
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Peer reviewer:
              Ankit Agarwal
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Andrew Nicols
              Participants:
              Component watchers:
              Matteo Scaramuccia, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/May/15