DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
Node.js Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
Node.js
Why does streaming a response (writing chunks as they become available) improve time-to-first-byte compared to buffering the full response first?
A
It doesn't — buffering is always faster
B
The client starts receiving bytes as soon as the first res.write() call happens, rather than waiting for the entire response to be assembled first
C
Streaming only affects the response's final size
D
It has no effect on timing, only on memory
Check Answer