PPR Nonce Isolation Test
Clerk DynamicClerkScripts nonce isolation
This page verifies that @clerk/nextjs correctly isolates nonce fetching into a Suspense-wrapped DynamicClerkScripts component. With the fix, pages using cacheComponents: true can mix cached and dynamic content without build errors.
Cached Content
"use cache" component
cached at: 2026-02-13T03:22:31.781Z
This content is cached and should not opt the page out of static rendering.
Dynamic Content
Server auth() call
rendered at: 2026-03-01T23:16:45.250Z
userId: null (signed out)
Clerk UI Components
What this tests
- Cached content — The "use cache" component renders a timestamp that stays stable across requests.
- Dynamic content — The
auth()call renders fresh on every request. - Clerk scripts — Clerk JS loads via the new Suspense-isolated
DynamicClerkScripts. - Auth state — SignedIn / SignedOut render correctly based on authentication.
- Build passes — This page builds without errors when
cacheComponents: true.