Skip to content

Commit

Permalink
Merge pull request #5 from opennextjs/bib/note-callout-fix
Browse files Browse the repository at this point in the history
fix :::note => <Callout>
  • Loading branch information
irvinebroque authored Sep 26, 2024
2 parents f866865 + 03816b7 commit ffebd4a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pages/cloudflare/caching.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ By default, all `fetch()` subrequests made in your Next.js app are cached. Refer

[The cache persists across deployments](https://nextjs.org/docs/app/building-your-application/caching#data-cache). You are responsible for revalidating/purging this cache.

:::note
<Callout>
Workers KV is eventually consistent, which means that it can take up to 60 seconds for updates to be reflected globally, when using the default TTL of 60 seconds.
:::
</Callout>

### How to enable caching

Expand All @@ -35,4 +35,4 @@ id = "<YOUR_NAMESPACE_ID>"

### 3. Set the name of the binding to `NEXT_CACHE_WORKERS_KV`

As shown above, the name of the binding that you configure for the KV namespace must be set to `NEXT_CACHE_WORKERS_KV`.
As shown above, the name of the binding that you configure for the KV namespace must be set to `NEXT_CACHE_WORKERS_KV`.

0 comments on commit ffebd4a

Please sign in to comment.