I am using html2pdf to create pdf file.

My html page have 20-25 pages. IT takes around 7-10 minutes to download pdf.

While I download the same in excel or work it download in few seconds.

Please help me to improve performance or troubleshoot steps so that I could decrease pdf creation time.

Thanks in advance.


did you try generating the pdf to a file instead of downloading first?