# Pdf loading time too long on the pdfjs express viewer. Is there any way to reduce the time to load a pdf file?

**URL:** <https://pdfjs.community/t/pdf-loading-time-too-long-on-the-pdfjs-express-viewer-is-there-any-way-to-reduce-the-time-to-load-a-pdf-file/387>\
**Category:** Technical Support\
**Created:** [November 13, 2020, 8:23am UTC](https://pdfjs.community/t/pdf-loading-time-too-long-on-the-pdfjs-express-viewer-is-there-any-way-to-reduce-the-time-to-load-a-pdf-file/387 "2020-11-13T08:23:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![himani.sharma](https://avatars.discourse-cdn.com/v4/letter/h/e47774/32.png) [@himani.sharma](https://pdfjs.community/u/himani.sharma)\
**Post date:** [November 13, 2020, 8:23am UTC](https://pdfjs.community/t/pdf-loading-time-too-long-on-the-pdfjs-express-viewer-is-there-any-way-to-reduce-the-time-to-load-a-pdf-file/387/1 "2020-11-13T08:23:05Z")

</div>

**PDF.js Express Version**

**Detailed description of issue**  
Trying to upload a file of 10 mb but it takes too long around 5 mins to load it. Is there any way to reduce the loading time.

**Expected behaviour**  
{Provide a screenshot or description of the expected behaviour}

**Does your issue happen with every document, or just one?**  
{Answer here}

**Link to document**  
{Provide a link to the document in question if possible}

**Code snippet**  
{Provide a relevant code snippet}

---

<div class="post-metadata">

**Author:** ![Logan](https://yyz1.discourse-cdn.com/flex031/user_avatar/pdfjs.community/logan/32/13_2.png) [@Logan](https://pdfjs.community/u/Logan)\
**Post date:** [November 13, 2020, 3:20pm UTC](https://pdfjs.community/t/pdf-loading-time-too-long-on-the-pdfjs-express-viewer-is-there-any-way-to-reduce-the-time-to-load-a-pdf-file/387/2 "2020-11-13T15:20:17Z")

</div>

Hey there,

It definitely should not be taking 5 mins to load any document. Would you be able to send us that document?

Thanks,  
Logan
