Y
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
johnisgood
519 days ago
sendfile? splice? io_uring?
link
mixmastamyk
519 days ago
Yes, most likely sendfile.
link