Hacker News new | ask | show | jobs
by mikeknoop 5221 days ago
Is this still best practice? What's the more "up to date" method?
1 comments

splice and tee are the newer kernel interfaces, sendfile is now implemented using them.
Apparently these primitives haven't found their way to the Node.js land yet... and sendfile is still undocumented.
Not really surprising given the cross platform focus in Node now.