KnpLabs / snappy

PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Wrapper for wkhtmltopdf/wkhtmltoimage

Home Page:https://knplabs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Slow Generation

NSady opened this issue · comments

commented

I have an invoice service where the invoices can be converted to PDF. The PDF generation works great, but on the FIRST generation of each users session it takes around 20 seconds to generate the PDF. Upon successive generation it generates in about 1-2 seconds. Why, or how can I fix the first generation time?

I have the same problem...

I have generate pdf , but takes around 10 -15t seconds in IE EDge

I'm afraid that it's not a Snappy related issue.
Does it happens on other pages as well or it's just related to that specific page?

I'm closing this issue.
If it's still relevant, please answer this comment with the required details.