Lurker News

Comments (265) 53 threads

Show all comments

Showing thread 33 of 53

brightball1 reply#
My question on these is always how it handles multi page documents. Most DOM and CSS approaches to HTML to PDF require it to fully render everything for placement before it can convert.

If you have to render something big, like a 300 page member directory for example, the approach will blow up.

idreyn1 reply#
I used paged.js in production and while it's definitely not fast enough to run during an HTTP request, it can render a 300 page document reasonably quickly, definitely within the 120 second TTL of our worker tasks. It can be quite finicky though and sometimes stalls on things like images that are taller than a single page.
brightball1 reply#
The RAM upper limit is my bigger concern.