i would like to have some suggestions about how can i improve the speed of Pdf.js express web viewer.
I often have to show users pdfs that weight over 40-50 Mb that resulting in at least 15-25 seconds of waiting. i tryed to linearize the pdfs but it doesn’t seem to do much.
Is there a way to improve the performances, am i doing something wrong?
Thank you for contacting Pdf.js express forums,
Generally you do want to test against the demo to compare the loading speed:
If you are experiencing a much slower load, then it could be your environment, and we would need a minimal sample project that can reproduce the issue to diagnose.
Yes, it seems to be my project because in the demo the file is loaded almost instantaneously.
I will try to provide you with sample code as soon as possible. In addition to the link to the example, what datas should I provide you with?
The PDF file that you used as well as a minimal runnable sample project as either a zip file you can attach or link or a public repository would be sufficient.