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

Defer production/loading of editpdf images

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1.3
    • Fix Version/s: None
    • Component/s: Assignment
    • Affected Branches:
      MOODLE_31_STABLE

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              emerrill Eric Merrill
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              7 Vote for this issue
              Watchers:
              11 Start watching this issue

                Dates

                Created:
                Updated: