| 1 | --- |
| 2 | // Streaming-friendly SSR page: the early marker is flushed before the async |
| 3 | // <Slow /> component resolves, exercising Astro's streaming render path |
| 4 | // through workerd's Response streams end-to-end. |
| 5 | import Slow from "../components/Slow.astro"; |
| 6 | --- |
| 7 | |
| 8 | <html lang="en"> |
| 9 | <head> |
| 10 | <meta charset="utf-8" /> |
| 11 | <title>Stream</title> |
| 12 | </head> |
| 13 | <body> |
| 14 | <h1>Stream</h1> |
| 15 | <p id="early">early chunk</p> |
| 16 | <Slow /> |
| 17 | </body> |
| 18 | </html> |