News for hackers. Stuff that matters.
Re:Show HN: Transform any web page into a document by codingdave on Thursday September 01, 2016 @09:21AM (#12405005)
I do conversions like this as part of an app, and I never save to disk - I create the file in memory, and return it directly to the HTTP response as a file download. What stack are you running that makes you save to disk? (Because that also would be a deal-breaker for using this on confidential documents, if you ever allow uploads)
Re:Show HN: Transform any web page into a document by apancyborg on Friday September 02, 2016 @08:32AM (#12412556)
For upload we could do file i/o in memory, our stack allow us. But right now if we did it in memory we would run out of memory.