Issues with Range Requests Not Working in SvelteKit Application #17828
Unanswered
DanielMoradiKahlou
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Configuration:
Steps to reproduce the problem:
What is the expected behavior?

I expect PDF.js to initiate Range Requests. This behavior is observed in the simple Node.js environment.
What went wrong?

In the SvelteKit environment, PDF.js appears not to initiate Range Requests, and the entire PDF document is loaded at once.
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension): The issue can be locally reproduced by cloning the provided GitHub repository
Beta Was this translation helpful? Give feedback.
All reactions