Articles on: Assets

How long does it take to create a PDF?

On average, generating a PDF will take around 1-2 seconds. The time can vary significantly depending on what kind of call you're performing.

HTML with no external dependencies is the fastest

Using an HTML call that does not have any external dependencies such as images, CSS, or other assets that get fetched from the internet. Depending on how much content gets generated, the PDF will get generated extremely quickly and typically around 1 second.

Using an external URL is the slowest

Using an external URL to generate a PDF could be the slowest possible option. It is not always the case because it depends on how fast the external server is, how big the payload is, and other various factors. But on average, using an external URL will be slower than using embedded HTML.

Updated on: 28/03/2022

Was this article helpful?

Share your feedback

Cancel

Thank you!