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

Defer production/loading of editpdf images

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.1.3, 4.0.5
    • None
    • Assignment
    • MOODLE_31_STABLE, MOODLE_400_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

              Unassigned Unassigned
              emerrill Eric Merrill
              Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              9 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated: