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

Defer production/loading of editpdf images

XMLWordPrintable

    • MOODLE_31_STABLE, MOODLE_400_STABLE

      Right now, the PDF edit interface generates and loads all PNGs through editpdf/ajax.php -> loadallimages. For very large pdfs this can be very time consuming (many many minutes).

      IMO, we should only generate and load the image (page) currently being displayed to the user (and maybe next next few pages, since most of the time the user will view in order). This would reduce server load by not generating pages that may never be viewed, and would allow the user to start marking up immediately, rather than having to wait for all pages to generate. Note that we already seperately know the page count - we don't need to generate the page images for that to happen.

            Unassigned Unassigned
            emerrill Eric Merrill
            Votes:
            9 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved:

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