Initial render is slow

This article was translated from English: Does it need improvement?
Translated
View the article in English

If your first HTML to PDF render with IronPDF is slow, we may be looking at the following underlying issues:

Reasons

  • The "LinuxAndDockerDependenciesAutoConfig" property flag is set to true and/or the required Linux packages are not installed, causing them to be installed at runtime.
  • You are developing on a Windows/Mac machine but deploying to a Linux production environment without using the IronPdf.Linux package, so some components are downloaded from NuGet at runtime.

Initiation Checks

IronPDF will check to ensure that CEF browser DLLs required to execute are available.

Por favor notaIronPdf.Slim is the base package for our Chrome-identical rendering engine. Using this package alone may allow the most flexibility but will require more time to initiate as the required files are retrieved from the NuGet CDN.

CEF browser application start-up time

The initial render may take 2-3 seconds to execute. This is normal start-up time that is similar to the time it takes for Chrome to open on a desktop environment.

  • If initialization is taking more than 5 seconds, the server or PC may be under-provisioned. We would recommend using a more powerful server or Azure Web app plan (B1 is the minimum).
Curtis Chau
Escritor Técnico

Curtis Chau tiene una licenciatura en Ciencias de la Computación (Carleton University) y se especializa en el desarrollo front-end con experiencia en Node.js, TypeScript, JavaScript y React. Apasionado por crear interfaces de usuario intuitivas y estéticamente agradables, disfruta trabajando con frameworks modernos y creando manuales bien ...

Leer más
¿Listo para empezar?
Nuget Descargas 16,154,058 | Versión: 2025.11 recién lanzado