Támogatás keresése

Kerülje el a támogatási csalásokat. Sosem kérjük arra, hogy hívjon fel egy telefonszámot vagy osszon meg személyes információkat. Jelentse a gyanús tevékenységeket a „Visszaélés bejelentése” lehetőséggel.

További tudnivalók

A témacsoportot lezárták és archiválták. Tegyen fel új kérdést, ha segítségre van szüksége.

PDFs loading differently between development and production server while using pdf.js - please help.

  • 2 válasz
  • 3 embernek van ilyen problémája
  • 1 megtekintés
  • Utolsó üzenet ettől: ardnirum

more options

Hi

We are using pdf.js in our application to display thousands of PDFs.

In the development server (running on CentOS), when we access PDFs, the viewer shows the first page, while the rest of the pages load/download.

Whereas, in the staging & production servers(RedHat OS), the viewer waits for all the pages to download before showing the first page.

What could be the reason? I am not able to believe that it would be OS based.

Please help.

Thanks Gopal

Hi We are using pdf.js in our application to display thousands of PDFs. In the development server (running on CentOS), when we access PDFs, the viewer shows the first page, while the rest of the pages load/download. Whereas, in the staging & production servers(RedHat OS), the viewer waits for all the pages to download before showing the first page. What could be the reason? I am not able to believe that it would be OS based. Please help. Thanks Gopal

Összes válasz (2)

more options

Same version of PDF.js on both? v 1.2.109 is the current "Stable" version Beyond that see the PDF.js Project page: https://mozilla.github.io/pdf.js/

more options

Sorry, I dont have the version numbers with me right now. But i am very sure that the same version is running on both the servers. I have compared the source and there are no changes. Hope this helps. Thanks for looking into it.

regards Gopal