| In order to debug a timeout of a very large PDF export (3k print pages) I added some logs to see the time spend by PDF export on each step, client side. This showed that a significant amount of time was spent refactoring the anchors (links) before generating the print layout:
This made me check the code. It is indeed quite inefficient. For such a large PDF export you have thousands of anchors (links) so it's important to process them in an optimal way. |