Do you know the best way to optimize generation of very large PDFs?
For my work we generate PDFs of tags to print for a nurseries trees. Several hundred tags are generated at a time, so this can end with a PDF with a couple hundred pages.
Using DomPDF currently, but only able to generate a PDF with around 400 tags at this point without getting a timeout.
Don't want to create a background job for this, as I'd like users to be able to click to download without having to wait too long.
The only way that I see, is to create a background job, so that the user can start the generation of the pdf, and then broadcasts when it's done, so the user can download it.