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
Copy file name to clipboardExpand all lines: Document-Processing/PDF/PDF-Viewer/react/document-handling/load-large-pdf.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,13 +30,13 @@ Performance may vary if the user’s system is heavily loaded or low on availabl
30
30
31
31
---
32
32
33
-
# Best Practices for Loading Large PDFs
33
+
##Best Practices for Loading Large PDFs
34
34
35
-
## 1. Load PDFs Using Blob (Recommended)
35
+
###1. Load PDFs Using Blob (Recommended)
36
36
37
37
Blob loading provides the fastest and most efficient performance for large PDFs.
38
38
39
-
### Why Blob Loading Is Better
39
+
####Why Blob Loading Is Better
40
40
41
41
When a large PDF (for example, 1 GB) is loaded directly via `documentPath` (URL):
42
42
@@ -51,7 +51,7 @@ But when the PDF is fetched as a **Blob**:
51
51
- The viewer can begin rendering faster
52
52
- Improves load time, memory usage, and overall responsiveness
53
53
54
-
### Example: Load a PDF as Blob
54
+
####Example: Load a PDF as Blob
55
55
```js
56
56
fetch('https://your-api/large-file.pdf')
57
57
.then(response=>response.blob())
@@ -66,7 +66,7 @@ Blob loading is highly recommended for all PDFs above **200 MB**, especially whe
66
66
67
67
---
68
68
69
-
## 2. Viewer Performance Range
69
+
###2. Viewer Performance Range
70
70
71
71
The Syncfusion PDF Viewer is optimized to handle:
72
72
@@ -77,11 +77,11 @@ This suits enterprise workflows involving large engineering drawings, client rec
77
77
78
78
---
79
79
80
-
## 3. Minimize Injected Modules
80
+
###3. Minimize Injected Modules
81
81
82
82
The PDF Viewer internally uses background workers for text processing, thumbnail generation, image rendering, and metadata extraction. Disabling modules that are not needed helps reduce background activity and improves performance.
0 commit comments