Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendering large pdf downloading whole pdf #15735

Closed
sheikalthaf opened this issue Nov 24, 2022 · 1 comment
Closed

Rendering large pdf downloading whole pdf #15735

sheikalthaf opened this issue Nov 24, 2022 · 1 comment

Comments

@sheikalthaf
Copy link

Attach (recommended) or Link to PDF file here:

Configuration:

  • Web browser and its version: chrome 107.0.5304.110 (Official Build) (arm64)
  • Operating system and its version: Macos 13
  • PDF.js version: 2.16
  • Is a browser extension: No

Steps to reproduce the problem:

  1. Open any large pdf around more than 100mb file
  2. In network you can see that it is downloading whole chunks instead of particular chunk range

What is the expected behavior? (add screenshot)
image
I'm using the above configuration

I have done all the recommended step to lazy load the pdf page

  • Linearized the PDF
  • server supports range request

For first page it is load the first chunk properly but for the last page it is downloading the whole pdf as chunk.

(If recommended)
I'm ready to save the page wise range bytes in server so that I can give proper bytes while loading pdf

What went wrong? (add screenshot)

I want to view the page fast as much as I can but the chunk range not downloading the specific chunk to render the page quickly

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

Our application is a private application so can't share the internal link but ready to provide more information if required

@Snuffleupagus
Copy link
Collaborator

Snuffleupagus commented Nov 24, 2022

Given the overall lack of actionable details, i.e. no PDF document nor runnable test-case provided, there's unfortunately nothing anyone can do to help! Please keep in mind that this is first and foremost an open-source bug tracker, rather than a support forum, and that all issues must be easily actionable.

Most likely this is just a duplicate of #15457, however #14570 (comment) could possibly be relevant as well (depending on the PDF document used).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants