Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
mixmastamyk
1y ago
0 comments
Save
Share
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.
0 comments
2 comments · 1 top-level
top
newest
oldest
johnisgood
1y ago
· 1 in thread
sendfile? splice? io_uring?
mixmastamyk
OP
1y ago
Yes, most likely sendfile.
j
/
k
navigate · click thread line to collapse