HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML Forums › Technical questions / Troubleshooting › Slow initial PDF generation › Reply To: Slow initial PDF generation
February 17, 2025 at 15:39
#39145
Hi! A possible explanation is that the source HTML has unavailable external links and it waits until the socket times out. Once the resource is marked as unavailable in the PD4ML cache, it no longer tries to download.
But it is only a guess. More input needed too find out the real cause of the problem.
As a first step, try enabling logging and look at the STDOUT output of PD4ML – this will allow you to see which phase the delay is occurring in.
