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

Cache course image in the course_summary_exporter

XMLWordPrintable

    • MOODLE_311_STABLE
    • MDL-66667-cache-course-image-master
    • 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.

      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

            dmitriim Dmitrii Metelkin
            dmitriim Dmitrii Metelkin
            Brendan Heywood Brendan Heywood
            Jun Pataleta Jun Pataleta
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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