Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6833c36

Browse files
committed
add warnings about direct mode
1 parent 707d06e commit 6833c36

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

pages/cloudflare/caching.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ const config: OpenNextConfig = {
7171
export default config;
7272
```
7373

74+
75+
<Callout>
76+
The `direct` mode for the queue is intended for debugging purposes and is not recommended for use in production. We are actively working on a solution that will be suitable for production.
77+
</Callout>
78+
7479
#### On-Demand Revalidation
7580

7681
The tag revalidation mechanism uses a [Cloudflare D1](https://developers.cloudflare.com/d1/) adapter as its backing store for information about tags, paths, and revalidation times.

pages/cloudflare/index.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,13 @@ We will update the list as we progress towards releasing 1.0.
5252
- [x] [Middleware](https://nextjs.org/docs/app/building-your-application/routing/middleware)
5353
- [x] [Image optimization](https://nextjs.org/docs/app/building-your-application/optimizing/images) (you can integrate Cloudflare Images with Next.js by following [this guide](https://developers.cloudflare.com/images/transform-images/integrate-with-frameworks/))
5454
- [x] [Partial Prerendering (PPR)](https://nextjs.org/docs/app/building-your-application/rendering/partial-prerendering)
55-
- [x] [Incremental Static Regeneration (ISR)](https://nextjs.org/docs/app/building-your-application/data-fetching/incremental-static-regeneration)
55+
- [x] [Incremental Static Regeneration (ISR)](https://nextjs.org/docs/app/building-your-application/data-fetching/incremental-static-regeneration) <sup>1</sup>
5656
- [ ] [Support for after](https://nextjs.org/blog/next-15-rc#executing-code-after-a-response-with-nextafter-experimental)
5757
- [ ] [Pages Router](https://nextjs.org/docs/pages)
5858
- [ ] [Composable Caching](https://nextjs.org/blog/composable-caching) (`'use cache'`) is a Next.js 15 feature and not supported yet.
5959

60+
<sup>1</sup> Only the `direct` mode is supported at the moment, and is not suitable for production.
61+
6062
We welcome both contributions and feedback!
6163

6264
### Windows support

0 commit comments

Comments
 (0)