Streaming Turbo Streams Over HTTP

Опубликовано: 25 Май 2026
на канале: Tony Messias
536
14

Turbo Streams currently supports three delivery methods:

1. Just adding them to the DOM
2. Returning a special kind of document that only contains Turbo Stream tags with a custom MIME type
3. Broadcasting Turbo Streams over WebSockets/SSE to update the page

In this video, we're adding a fourth method by enabling the use of HTTP's streaming capabilities to deliver Turbo Streams.

This type of UI is common these days when interacting with LLMs via a chat system, for instance, where you receive each token at a time.

The approach described in the video should work on any backend system that uses Turbo.