Amend the docs for |disableAutoFetch| to mention that streaming must also be disabled
This commit is contained in:
parent
f6ad15d084
commit
daba13aebb
@ -99,6 +99,9 @@ PDFJS.disableStream = (PDFJS.disableStream === undefined ?
|
|||||||
* Disable pre-fetching of PDF file data. When range requests are enabled PDF.js
|
* Disable pre-fetching of PDF file data. When range requests are enabled PDF.js
|
||||||
* will automatically keep fetching more data even if it isn't needed to display
|
* will automatically keep fetching more data even if it isn't needed to display
|
||||||
* the current page. This default behavior can be disabled.
|
* the current page. This default behavior can be disabled.
|
||||||
|
*
|
||||||
|
* NOTE: It is also necessary to disable streaming, see above,
|
||||||
|
* in order for disabling of pre-fetching to work correctly.
|
||||||
* @var {boolean}
|
* @var {boolean}
|
||||||
*/
|
*/
|
||||||
PDFJS.disableAutoFetch = (PDFJS.disableAutoFetch === undefined ?
|
PDFJS.disableAutoFetch = (PDFJS.disableAutoFetch === undefined ?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user