Hacker News new | ask | show | jobs
by mixmastamyk 521 days ago
Yes, I’d add that not merely “raw html” but a file on disk can be served directly by Linux without context switches (I forget the syscall), and transferred faster than generation.
1 comments

sendfile? splice? io_uring?
Yes, most likely sendfile.