proxy buffering
When a proxy or CDN between server and browser collects a whole response before passing it on, which breaks streaming.
In more detail
Buffering is usually good because it frees the server quickly, but it breaks streaming. Headers such as Cache-Control: no-transform, and X-Accel-Buffering: no for nginx, ask proxies to forward chunks as they arrive.
Related terms
- proxy server — A server that sits between clients and servers and forwards requests on someone's behalf, often applying policy, caching or security on the way.
- Cache-Control — The HTTP header that states the caching policy for a response, such as private, max-age=0 or no-store.
- Server-Sent Events — A standard way for a server to keep an HTTP response open and push a stream of text events to the client, in one direction only.
Taught in
- Streaming Endpoints: Server-Sent Events & NDJSON Feeds — Next.js 15 & Modern App Router Architecture