Can we render pages as soon as loaded from the PDF?

Which product are you using?

PDF.js Express Viewer

PDF.js Express Version

UI - 8.2.0
Core - 8.2.1

Detailed description of issue
When I view the following linearized PDF https://s3.amazonaws.com/pdftron/downloads/pl/2gb-sample-file.pdf using PDF.js Express Viewer either in my own code or in the online demo PDF.js Viewer Demo | PDF.js Express, it takes about 10-20 seconds before the first page is visible even with partial range loading ocurring.

Expected behaviour
{Provide a screenshot or description of the expected behaviour}
I expect the viewer to begin showing pages as they are loaded. The following URL will show the expected behavior. The first page of this linearized document is visible within 1-2 seconds.

Does your issue happen with every document, or just one?
This also occurs with a 228 page document (61mb) that I have been testing with.

Link to document

Code snippet
No code snippet for the demo.

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:APIs:Forums:

Hey there,

Document loading is handled by the PDF.js library, which we do not support. However I will create an internal ticket to see if there’s anything we can do to speed this up.

Thanks,
Logan

1 Like