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

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}

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