Skip to content

Commit bbb57a5

Browse files
authored
Merge pull request #4 from opennextjs/bib/compat-pages
Call out Cloudflare Workers <> Pages in Troubleshooting
2 parents a94d612 + 6ab9019 commit bbb57a5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pages/cloudflare/troubleshooting.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ import { Callout } from 'nextra/components';
33

44
## Troubleshooting
55

6+
### Trying to deploy to Cloudflare Pages, instead of Cloudflare Workers?
7+
8+
`@opennextjs/cloudflare` is specifically built for deploying Next.js apps to [Cloudflare Workers](https://developers.cloudflare.com/workers/)
9+
10+
Cloudflare Workers now support the majority of functionality from Cloudflare Pages, and have features that are not yet supported by Cloudflare Pages. Refer to the [Compatibility Matrix](https://developers.cloudflare.com/workers/static-assets/compatibility-matrix/) in the Cloudflare Workers docs.
11+
12+
If you need to deploy to Cloudflare Pages, you can use `@cloudflare/next-on-pages`, and follow the [Cloudflare Pages guides for deploying Next.js apps](https://developers.cloudflare.com/pages/framework-guides/nextjs/).
13+
614
### "Your Worker exceeded the size limit of 1 MiB"
715

816
The Cloudflare Account you are deploying to is on the Workers Free plan, which [limits the size of each Worker to 1 MiB](https://developers.cloudflare.com/workers/platform/limits/#worker-size). When you subscribe to the Workers Paid plan, each Worker can be up to 10 MiB.

0 commit comments

Comments
 (0)