We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16290e9 commit 65b4b4bCopy full SHA for 65b4b4b
apps/site/open-next.config.ts
@@ -5,6 +5,11 @@ import { withRegionalCache } from '@opennextjs/cloudflare/overrides/incremental-
5
import doQueue from '@opennextjs/cloudflare/overrides/queue/do-queue';
6
7
const cloudflareConfig = defineCloudflareConfig({
8
+ /**
9
+ * The regional cache implementation with R2 (instead of a KV one) is is chosen here
10
+ * for both R2's strong consistency alongside the regional cache performance gains.
11
+ * @see https://opennext.js.org/cloudflare/caching
12
+ */
13
incrementalCache: withRegionalCache(r2IncrementalCache, {
14
mode: 'long-lived',
15
}),
0 commit comments