4 ms·
Did you try sidekiq? Btw how are you generating the PDF from HTML and are able split a single HTML into multiple PDFs?
by boundlessdreamz 12y ago
Did you try sidekiq?
Btw how are you generating the PDF from HTML and are able split a single HTML into multiple PDFs?
- nexneo 12y agowkhtmltopdf and phantomjs both worked similarly, currently I'm using phantomjs. And I'm not splitting pdf but splitting html generation work load, and then create individual pdfs from those html chunks. Then they will be joined together (using pdfunite). I found this much faster then joining html and generating large pdf.
- boundlessdreamz 12y agoOk. Are you using phantomjs 1 or 2 ? Any reason to choose phantomjs or wkhtmltopdf? We are using wkhtmltopdf because it creates Table of Contents for PDFs and also clickable links
- nexneo 12y agoPhantomJS 1. But nothing is tide to phantomjs, wkhtmltopdf should work as well. (I'm planning to test with PhantomJS 2)