Server Streaming
Streaming sends parts of the UI to the browser as they are ready.
Definition
Streaming allows the server to send HTML chunks progressively instead of waiting for the entire page to finish rendering.
Why We Use
- Improve perceived performance
- Reduce waiting time
When To Use
When parts of the page load at different speeds.
Real-World Example
E-commerce site loads product list first, reviews load later.
Interview Tip
Streaming improves UX by progressively sending rendered HTML.