You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/cloudflare/src/api/config.ts
+7-13Lines changed: 7 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,10 @@ export type CloudflareConfigOptions = {
5
5
/**
6
6
* The incremental cache implementation to use (for more details see the [Incremental Cache documentation](https://opennext.js.org/aws/config/overrides/incremental_cache))
7
7
*
8
-
* `@opennextjs/cloudflare` offers a kv incremental cache implementation ready
9
-
* to use which can be imported from `"@opennextjs/cloudflare/kv-cache"`
8
+
* `@opennextjs/cloudflare` offers a kv incremental cache implementation exported as `kvIncrementalCache`
10
9
*
11
10
* @example
12
-
* import { defineCloudflareConfig } from "@opennextjs/cloudflare";
13
-
* import cache from "@opennextjs/cloudflare/kv-cache";
11
+
* import { defineCloudflareConfig, kvIncrementalCache } from "@opennextjs/cloudflare";
14
12
*
15
13
* export default defineCloudflareConfig({
16
14
* incrementalCache: cache,
@@ -21,28 +19,24 @@ export type CloudflareConfigOptions = {
21
19
/**
22
20
* The tag cache implementation to use (for more details see the [Tag Cache documentation](https://opennext.js.org/aws/config/overrides/tag_cache))
23
21
*
24
-
* `@opennextjs/cloudflare` offers a d1 tag cache implementation ready
25
-
* to use which can be imported from `"@opennextjs/cloudflare/d1-tag-cache"`
22
+
* `@opennextjs/cloudflare` offers a d1 tag cache implementation exported as `d1TagCache`
26
23
*
27
24
* @example
28
-
* import { defineCloudflareConfig } from "@opennextjs/cloudflare";
29
-
* import cache from "@opennextjs/cloudflare/d1-tag-cache";
25
+
* import { defineCloudflareConfig, d1TagCache } from "@opennextjs/cloudflare";
0 commit comments