next.js
0413fea8 - Turobpack: Implement Streaming App/API rendering (#47476)

Commit
2 years ago
Turobpack: Implement Streaming App/API rendering (#47476) Paired with https://github.com/vercel/turbo/pull/4329, this implements streaming responses for App and API renders. This is accomplished by sending an initial `headers` message (carrying the status code and headers list), N `body-chunk` messages of bytes, and a final `body-end` message to signal completion. Once sent to Turbopack, these chunk messages will be streamed out of the node rendering process directly into the HTTP server's response. Closes WEB-27 --------- Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Author
Parents
Loading