Function streaming to be framework-agnostic on Vercel
Vercel Functions will soon enable streaming by default for all Node.js functions, allowing for faster response times and improved runtime logs experience. This feature has been supported since 2023 for frameworks like Next.js (App Router), SvelteKit, Remix, and more. Streaming responses can be seen in real-time, with individual log lines having precise timestamps. Enhanced streaming will be rolled out to Hobby accounts starting July 8th, 2024, and Pro and Enterprise accounts on October 1st, 2024. To enable streaming today, set the VERCEL_FORCE_NODEJS_STREAMING environment variable in your project to true.
Company
Vercel
Date published
July 4, 2024
Author(s)
Mariano Cocirio, Tom Lienard, Doug Parsons
Word count
673
Hacker News points
None found.
Language
English