Skip to content

Commit db2c277

Browse files
committed
doc: optimize cookbook using lazy load keyword
1 parent 9164908 commit db2c277

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/cookbook/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ head:
1515

1616
You can set [`textLayerMode`](/learned-knowledge/#textlayermode) option to 0 to disable text layer totally.
1717

18-
## How to setup `Range Request` only download necessary data?
18+
## How to Lazy Load PDF File?
19+
20+
You can use the technique `Range Request` to lazy load the PDF and only download necessary data.
1921

2022
The `Range Request` only works if you use the default pdf.js viewer. if not, you have to implement all by yourself to
2123
support `Range Request`. Even if you use the default viewer, the server must also be configured to

0 commit comments

Comments
 (0)