Syncfusion.EJ2.PdfViewer Version: 19.3450.0.44
Within our ASP.NET MVC app we are using the Syncfusion PDF Viewer control. For PDFs with a large amount of pages, when you scroll through the PDF the RenderPdfPages call seems to take longer and longer.
For example if you quickly scroll through the PDF (resulting in lots of RenderPdfPages calls) it seems the response time grows and grows. (See attached 'Quickly scrolling through the PDF.png' - this is from Chrome Dev Tools).
Compared to if you scroll page by page through the PDF the response times are quicker. (See attached 'Slowly scrolling through the PDF.png'
- this is from Chrome Dev Tools
)
To me it almost seems as though the requests are blocking? Ultimately this results in what appears to be a very slowly loading PDF pages as it's normal to quickly scroll through a PDF.
Is this expected behaviour and are there any workarounds? E.g. pre-caching of PDF pages for rendering so that the
RenderPdfPages calls for the upcoming pages are already rendered so it appears quick.
Attachment: Syncfusion_PDF_Viewer_Images_f171328c.zip