Skip to content

Commit 1364fb9

Browse files
committed
add warning comment
1 parent 6a7ba8b commit 1364fb9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/cloudflare/src/api/regional-cache.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,9 @@ class RegionalCache implements IncrementalCache {
146146
*
147147
* The regional cache uses the Cache API.
148148
*
149+
* **WARNING:** If an entry is revalidated in one region, it will trigger an additional revalidation if
150+
* a request is made to another region that has an entry stored in its regional cache.
151+
*
149152
* @param cache - Incremental cache instance.
150153
* @param opts.mode - The mode to use for the regional cache.
151154
* - `short-lived`: Re-use a cache entry for up to a minute after it has been retrieved.

0 commit comments

Comments
 (0)