IronPDF Performance Assistance
For performance, please see the general points below:
- .NET Standard applications seem to have a small performance advantage on speed and stability, but use more memory in process. https://ironpdf.com/docs/questions/azure/
- Our customers who have very large documents often split the HTML into sections, render to PDF, and then use the append method to connect them into a single PDF at the end. You may need to set a longer timeout using RenderingOptions.Timeout = 120; // seconds. This FAQ explains this in more detail: https://iron.helpscoutdocs.com/article/136-unable-to-render-larger-file
- Try embedding images as DataURIs into the HTML. This will reduce network load and improve their stability. This FAQ will help: https://ironpdf.com/docs/questions/datauris/
- An additional step would be Base64 encoding the images first..
- Check that the correct HTTP/HTTPS protocol is set for referenced assets.
- Install externally sourced fonts (such as Google Fonts) directly to the production server.