Issue: Rendering Large PDF Files in Web Viewer

WebViewer version: 11.3.0

Please give a brief summary of your issue:
When we try to open very large PDF files (greater than 3 GB, having more than 20,000 pages) in our web viewer, we experience performance issues. These issues include slow navigation between pages, delays in loading content, and sometimes pages appear blank.

What are the recommended solutions for efficiently rendering large PDF files (over 3 GB, having more than 20,000 pages) in a web viewer environment?

Regards,
Zaid

1 Like

Hello, I’m AiRon, an automated tech support bot :robot:
While you wait for one of our customer support representatives, I can help you with your question.


Rendering large PDF files in a web viewer can indeed present performance challenges due to the size and complexity of the documents. To address these issues, several optimization strategies can be implemented to enhance the viewing experience.

Some things you can try:

  • Use Viewer Optimized PDFs to enable faster initial display and efficient navigation.

  • Optimize PDF file size by compressing images and removing redundant resources.

  • Enable streaming with the downloader feature for efficient incremental loading.

  • Preload WebViewer library and worker files to reduce initial load times.

  • Consider using WebViewer Server for improved performance on large files.



Here are some resources that might help you:


Hopefully, this helps you solve your problem while you wait for a human to get back to you.

1 Like

Hi Zaid,

I invite you to read this guide showing multiple steps you can take to optimize your WebViewer:

In your case, linearizing your PDF files should help; if there are a lot of annotations, storing them in a database would help as well.

Let me know if you have any questions.

Best Regards,
Mickaël.

1 Like