Skip to content

Commit 5d0ba8d

Browse files
vicbkodster28
andauthored
Add Next.js features support (#22421)
Co-authored-by: Kody Jackson <[email protected]>
1 parent 7e12c12 commit 5d0ba8d

File tree

1 file changed

+22
-0
lines changed
  • src/content/docs/workers/frameworks/framework-guides

1 file changed

+22
-0
lines changed

src/content/docs/workers/frameworks/framework-guides/nextjs.mdx

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,28 @@ Next.js supports Server-side and Client-side rendering, as well as Partial Prere
3232

3333
You can deploy your Next.js app to Cloudflare Workers using the OpenNext adaptor.
3434

35+
## Next.js supported features
36+
37+
Most Next.js features are supported by the Cloudflare OpenNext adapter:
38+
39+
| Feature | Cloudflare adapter | Notes |
40+
| ------------------------------------- | -------------------- | ---------------------------------------------------------------------------- |
41+
| App Router | 🟢 supported | |
42+
| Pages Router | 🟢 supported | |
43+
| Route Handlers | 🟢 supported | |
44+
| React Server Components | 🟢 supported | |
45+
| Static Site Generation (SSG) | 🟢 supported | |
46+
| Server-Side Rendering (SSR) | 🟢 supported | |
47+
| Incremental Static Regeneration (ISR) | 🟢 supported | |
48+
| Server Actions | 🟢 supported | |
49+
| Response streaming | 🟢 supported | |
50+
| asynchronous work with `next/after` | 🟢 supported | |
51+
| Middleware | 🟢 supported | |
52+
| Image optimization | 🟢 supported | Supported via [Cloudflare Images](/images/) |
53+
| Partial Prerendering (PPR) | 🟢 supported | PPR is experimental in Next.js |
54+
| Composable Caching ('use cache') | 🟢 supported | Composable Caching is experimental in Next.js |
55+
| Node.js in Middleware | ⚪ not yet supported | Node.js middleware introduced in 15.2 are not yet supported |
56+
3557
## Deploy a new Next.js project on Workers
3658

3759
<Steps>

0 commit comments

Comments
 (0)