I have custom pdf viewer html page for rendering the pdf. i am using pdfjs library for render the pdf. It's working fine for me.
When i open the small pdf file then it downloads and renders the file quickly, when i open the large pdf then it downloads the pdf file quickly but it takes too much time to render the pdf file.
I can see the large pdf file content but when i scroll down then it hang the whole browser.
Any suggestion?