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

Large file not shows starting pages quickly, is there any way to control chunk requests' sequence for linearization? #1079

Open
Himesh512 opened this issue Apr 11, 2024 · 0 comments

Comments

@Himesh512
Copy link

Himesh512 commented Apr 11, 2024

I am Using ng2-pdf-viewer package to view pdf file.

It is working fine for small sized documents and it's not taking much time to show to user,

but when it comes to large file PDF which is Linearized as well causing to much time to show to user.

what i observed that while making chunk call first partial call gets range with 0-1MB, but very next partial call sends request for near about last 1Mb range.

my guessing that due to those chunk sequence Linearization is not working properly for ng2-pdf-viewer.

is there any way we can make partial calls in sequence from configuration based?

i found range we can pass which is the instance of PDFDataRangeTransport but there isn't any document or way i found to work with?

Any observation or help is appreciated form the community.

@VadimDez @dependabot @AntonioDA any inputs you guys can provide.

Thanks

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

1 participant