Skip to content

Commit 5406eac

Browse files
1010724: Resolved CI failures
1 parent 0c5e819 commit 5406eac

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

Document-Processing/PDF/PDF-Viewer/react/document-handling/load-large-pdf.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ Performance may vary if the user’s system is heavily loaded or low on availabl
3030

3131
---
3232

33-
# Best Practices for Loading Large PDFs
33+
## Best Practices for Loading Large PDFs
3434

35-
## 1. Load PDFs Using Blob (Recommended)
35+
### 1. Load PDFs Using Blob (Recommended)
3636

3737
Blob loading provides the fastest and most efficient performance for large PDFs.
3838

39-
### Why Blob Loading Is Better
39+
#### Why Blob Loading Is Better
4040

4141
When a large PDF (for example, 1 GB) is loaded directly via `documentPath` (URL):
4242

@@ -51,7 +51,7 @@ But when the PDF is fetched as a **Blob**:
5151
- The viewer can begin rendering faster
5252
- Improves load time, memory usage, and overall responsiveness
5353

54-
### Example: Load a PDF as Blob
54+
#### Example: Load a PDF as Blob
5555
```js
5656
fetch('https://your-api/large-file.pdf')
5757
.then(response => response.blob())
@@ -66,7 +66,7 @@ Blob loading is highly recommended for all PDFs above **200 MB**, especially whe
6666

6767
---
6868

69-
## 2. Viewer Performance Range
69+
### 2. Viewer Performance Range
7070

7171
The Syncfusion PDF Viewer is optimized to handle:
7272

@@ -77,11 +77,11 @@ This suits enterprise workflows involving large engineering drawings, client rec
7777

7878
---
7979

80-
## 3. Minimize Injected Modules
80+
### 3. Minimize Injected Modules
8181

8282
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.
8383

84-
### 3.1 Text Search & Text Selection
84+
#### 3.1 Text Search & Text Selection
8585

8686
Modules:
8787
- [`Text Search`](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/react/text-search)
@@ -101,14 +101,14 @@ If these features are not required in your application:
101101
- Improve page rendering speed
102102
- Provide a smoother experience for large documents
103103

104-
### Example (remove text search & selection)
104+
#### Example (remove text search & selection)
105105
```tsx
106106
<Inject services={[Toolbar, Magnification, Navigation, Print]} />
107107
```
108108

109109
---
110110

111-
### 3.2 Thumbnail View & Organize Pages
111+
#### 3.2 Thumbnail View & Organize Pages
112112

113113
Modules:
114114
- [`Organize Pages`](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/react/organize-pages/overview)
@@ -126,7 +126,7 @@ If thumbnails or page reordering are not essential:
126126

127127
---
128128

129-
## 4. Enable Local Storage for Large PDFs With Many Form Fields or Annotations
129+
### 4. Enable Local Storage for Large PDFs With Many Form Fields or Annotations
130130

131131
PDFs with a high number of:
132132

@@ -156,7 +156,7 @@ By default, the viewer uses **sessionStorage** to store interactive session data
156156
- Enhances stability when navigating large documents
157157
- Reduces repeated processing for form/annotation‑heavy pages
158158

159-
### Enable Local Storage
159+
#### Enable Local Storage
160160
```tsx
161161
enableLocalStorage={true}
162162
```
@@ -165,7 +165,7 @@ This is highly recommended when working with legal documents, tax forms, interac
165165

166166
---
167167

168-
## 5. Reduce Unnecessary Background System Processes
168+
### 5. Reduce Unnecessary Background System Processes
169169

170170
For the best large‑PDF experience:
171171

@@ -178,7 +178,7 @@ This ensures the viewer receives enough system resources.
178178

179179
---
180180

181-
# Minimal Recommended Configuration Example
181+
## Minimal Recommended Configuration Example
182182

183183
```tsx
184184
import * as ReactDOM from 'react-dom';

0 commit comments

Comments
 (0)