PDF export suggestions
At our company we generate PDF reports from HTML. Everything works correctly but when there are larger amounts of data it gets slow, so I am interested in some advice about optimization.
Please check the following hints
If it doesn't help, try to share a demo or better isolate and describe what is the time-consuming part.
Here is the demo. It's the one with the PDF_sample:
Thank you. On my local its like 50% for the handlebars and 50% for chrome rendering.
We can't optimize chrome. Unfortunately, chrome is slow on long
table. The only thing you can do is try to remove some CSS styling and find which is the bottleneck. Maybe you will be able to find a workaround for a particular CSS.
The long handlebars execution was suspicious because this is typically fast. It turned out you do a lot of
localizecalls to big JSON resources. This is something we should be able to optimize with cache and speed up the handlebars part for you.
We get to it shortly, but can't promise when exactly.
Thank you for your fast replies and troubleshooting!