Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Html 2 pdf rendering with phantomjs (big-elephants.com)
2 points by dafreeman on Dec 30, 2012 | hide | past | favorite | 1 comment


Nice write up... I think one thing to keep in mind is that generating a PDF this way is great but is making a browser based request - so it's good to avoid doing this within the scope of an existing request. When possible, put the generation into a background queue and email the results or poll for the result... At least if your in unicorn rails stack




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: