Using PPR and Suspense still dynamically loads all static fetches?
Unanswered
Harlequin posted this in #help-forum
HarlequinOP
I'm using the cookies from
If I remove the cookies from the header of the
I'm using <Suspense> around my header with canary and experimental on but even partial prerendering seems to always call the static fetches on load.
next/headers to load user data(like the users name) into the header inside layout. This seems to cause my static posts pages to always load dynamically now. On every load the post pages are fetched and hit the database even though on build it says they were partially prerendered as static HTML.If I remove the cookies from the header of the
layout then my posts pages stop fetching on every load.I'm using <Suspense> around my header with canary and experimental on but even partial prerendering seems to always call the static fetches on load.