Next.js Discord

Discord Forum

Streaming fully static pages

Unanswered
Telomian posted this in #help-forum
Open in Discord
TelomianOP
In a Next.js App Router app with fully static pages, some of my pages are large (like 1MB blog posts with lots of content). Even though soft navigation uses the RSC streamable payload, nothing renders until the full payload downloads.

Why isn’t the page shown incrementally as it downloads? I would expect the top part to render first, with the rest progressively revealed as the payload streams in.

The app uses Suspense with loading states, so in theory the system should be able to show the defined suspense boundaries while the rest of the JSX/HTML downloads. I suspect the issue is that the Suspense states are not included at all in the RSC payload when the page is fully static. But including them would make a big difference: it would allow the shell and early parts of the content to appear quickly, even on very long pages.

Is there a way to achieve this incremental rendering behavior for large static pages?

0 Replies