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

Cache course image in the course_summary_exporter

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Create course 1 and add an image to course summary files.
      2. Create course 2 without any summary files.
      3. Enrol yourself on the courses with any role
      4. Make sure that course images correctly displayed in the My overview block.
      5. Change the course image for course 1 and course 2
      6. Go to the dashboard.
      7. *Confirm *that both courses show the correct course images.
      8. Remove the course image for course 1.
      9. Go back to the dashboard.
      10. *Confirm *that course 1's image now displays a pattern image.
      Show
      Create course 1 and add an image to course summary files. Create course 2 without any summary files. Enrol yourself on the courses with any role Make sure that course images correctly displayed in the My overview block. Change the course image for course 1 and course 2 Go to the dashboard. *Confirm *that both courses show the correct course images. Remove the course image for course 1. Go back to the dashboard. *Confirm *that course 1's image now displays a pattern image.
    • Fixed Branches:
      MOODLE_311_STABLE
    • Pull from Repository:
    • Pull 3.11 Branch:
      MDL-66667-cache-course-image-MOODLE_311_STABLE
    • Pull Master Branch:
      MDL-66667-cache-course-image-master

      Description

      On big moodle instances could be very expensive to build a course image every time you'd need it. E.g. on a dashboard of every user when you are using my_overview block. 

      Would be good to have this image cached at some point.

      Things to think of

      1. Logic of cache invalidation

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dmitriim Dmitrii Metelkin
              Reporter:
              dmitriim Dmitrii Metelkin
              Peer reviewer:
              Brendan Heywood Brendan Heywood
              Integrator:
              Jun Pataleta Jun Pataleta
              Tester:
              Anna Carissa Sadia Anna Carissa Sadia
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                17/May/21

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 6 hours, 30 minutes
                  6h 30m