Buffering

SSE requires unbuffered responses. Ensure your HTTP client and any intermediary proxies do not buffer the response body:

  • Nginx: Set proxy_buffering off; or the API already sends X-Accel-Buffering: no

  • CloudFront / CDN: Disable response buffering for SSE endpoints

  • HTTP Client: Use streaming mode (not buffered reads)

Last updated