Next.js Discord

Discord Forum

SSR rendering? PPR rendering? ISR?

Unanswered
oxmaster posted this in #help-forum
Open in Discord
such a question. Maybe I'll come up with a new kind of rendering now, but why couldn't html be divided into static and dynamic? Some static part of html is generated during compilation, and the part that is interactive generates html on the server, then sends it to the client and the specific "dynamic" part that came is moistened. Maybe there is already some such rendering and I just don't understand it?

3 Replies

Because as I understand it, at the moment all types of rendering generate completely html on the server, and then send it.
@oxmaster Because as I understand it, at the moment all types of rendering generate completely html on the server, and then send it.
true, but, the difference is when do they generate it, static = at build time, dynamic = at request time, PPR = at build time for static, and also for dynamic components assuming they are wrapped in suspense so it can show a static shell for it.
Shy Albatross
Some static part of html is generated during compilation, and the part that is interactive generates html on the server, then sends it to the client and the specific "dynamic" part that came is moistened
You described PPR. ISR is static SSR but you can tell it when to refresh.