What is 'Streaming Rendering' in Blazor, and how does it improve the perceived performance of Static Server-Side Rendering pages?
Last updated
Streaming rendering lets a static SSR page flush initial HTML (layout, loading placeholders) immediately instead of blocking until all async work finishes.
The response stays open and, as
OnInitializedAsynccompletes, updated markup is streamed and patched into the DOM. Enable it with[StreamRendering].It gives a fast first paint with no client interactivity required, since the page is still SSR.
- https://levelup.gitconnected.com/why-you-should-use-streamrendering-in-blazor-abc01fdcc10b
- https://learn.microsoft.com/en-us/aspnet/core/blazor/components/rendering?view=aspnetcore-10.0
- https://www.c-sharpcorner.com/article/why-i-use-streamrendering-in-blazor
- https://www.telerik.com/blogs/blazor-basics-benefits-static-server-side-rendering-blazor
- https://chrissainty.com/blazor-in-dotnet-8-server-side-and-streaming-rendering/
- https://chrissainty.com/