Skip to content
Discussion options

You must be logged in to vote

Right, the thing here is that, you also need to remember that generating a static shell is part of the process.

In your case, your page is nothing but static content, there's no dynamic/runtime behavior to handle, no fallback UI needed. Cache Components implements PPR, so it can just output the entire HTML for this page. If you added use cache you'd be telling Next.js, to also revalidate this page, but for such a page that's not needed.

Also, since all pages generate a static shell, to be, potentially, filled in with dynamic/runtime content, you can totally inspect these in the build output, or better yet, see the React Dev Tools Suspense tab, which shows boxes where content with fallback…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@vilebbit
Comment options

@ruchernchong
Comment options

Answer selected by vilebbit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants