# Can I set a limit on initial page rendering?

**URL:** <https://pdfjs.community/t/can-i-set-a-limit-on-initial-page-rendering/2971>\
**Category:** Technical Support\
**Created:** [November 30, 2023, 7:16am UTC](https://pdfjs.community/t/can-i-set-a-limit-on-initial-page-rendering/2971 "2023-11-30T07:16:35Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![kkim](https://avatars.discourse-cdn.com/v4/letter/k/3ab097/32.png) [@kkim](https://pdfjs.community/u/kkim)\
**Post date:** [December 4, 2023, 3:39pm UTC](https://pdfjs.community/t/can-i-set-a-limit-on-initial-page-rendering/2971/7 "2023-12-04T15:39:02Z")

</div>

Hi there,

setPrerenderLevel will only affect rendering pages before and ahead of the current page.

Any additional loading speed is handled by the pdf.js library:

> [@Can we render pages as soon as loaded from the PDF?](https://pdfjs.community/t/can-we-render-pages-as-soon-as-loaded-from-the-pdf/1409/3):
>
> Hello, I’m Ron, an automated tech support bot robot While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages: Guides: [Best practices for PDF.js Express - Linearize PDF files](https://pdfjs.express/documentation/learn-more/best-practices#linearize-pdf-files)[Core engine for WebViewer - Creating your own UI using WebViewer Core](https://pdfjs.express/documentation/ui-customization/core.8#creating-your-own-ui-using-webviewer-core)[Events for PDF.js Express - Document and annotation rendering - DocumentViewer.pageComplete](https://pdfjs.express/documentation/learn-more/events.8#documentviewer.pagecomplete) APIs: [Core.Document - isLinearized()](https://pdfjs.express/api/Core.Document.html#isLinearized__anchor)[Utils - setCanvasMultiplier(value)](https://pdfjs.express/api/7.0/utils.html#setCanvasMultiplier__anchor)[CoreControls…](https://pdfjs.express/api/7.0/CoreControls.DocumentViewer.html#refreshAll__anchor)

Best regards,  
Kevin Kim

---

_[View the full topic](https://pdfjs.community/t/can-i-set-a-limit-on-initial-page-rendering/2971)._
