How the range request actually work? #18609
Unanswered
xingya1822
asked this question in
Q&A
Replies: 2 comments 1 reply
This comment has been minimized.
This comment has been minimized.
-
Notice that the response code is 200 for that first call. All of the other responses should be 206. The first call to the server requests the entire document and returns the metadata (contentLength) needed to issue the subsequent range requests. By default - in my experience at least - it will request the entire document and the chunks necessary to display the pages that are on screen. The initial request will continue streaming the entire document in the backend regardless of how many chunks you have requested. If you add |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
according to this FAQ,
Why the very first HTTP request made to server seems loaded the whole file ?
And why all those following requests were made ? While I didn't begin to scroll down the pdf ?
Beta Was this translation helpful? Give feedback.
All reactions