You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of auto-fetch mode we need to use already opened (initial) connection, in addition to range requests. That might speed up the loading PDF from the sites where range requests are slow. Firefox supports "moz-chunked-arraybuffer" responseType, so we start using data before it's completely loaded. There is also http://www.w3.org/TR/streams-api/#XMLHttpRequest
Pros:
Less overhead on range requests, hence faster loading;
Early access for the linearized data even if range requests are not available.
Cons:
Two connections are opened: range request and initial one;
We will fetch the same data chunks twice e.g. PDF tail (first time with range, second when entire data is received).
The text was updated successfully, but these errors were encountered:
Instead of auto-fetch mode we need to use already opened (initial) connection, in addition to range requests. That might speed up the loading PDF from the sites where range requests are slow. Firefox supports "moz-chunked-arraybuffer" responseType, so we start using data before it's completely loaded. There is also http://www.w3.org/TR/streams-api/#XMLHttpRequest
Pros:
Cons:
The text was updated successfully, but these errors were encountered: