Skip to content
Back to Changelog

Stream responses from Appwrite Sites and Functions

Appwrite Sites and Functions now stream their responses. Each chunk your code writes reaches the browser as soon as it is produced, so server-rendered pages show their ready parts first and AI output appears while the model is still writing.

  • Server-rendered sites stream with no configuration. Frameworks that stream HTML, such as Next.js with Suspense, send the page shell first and fill in slower sections as their data loads.
  • Functions stream their response when they return res.sendStream().
  • Streamed responses are still compressed with gzip or Brotli when the browser supports it.

Ready to build?_