Skip to content

Commit c13435f

Browse files
committed
Updates Tiered cache
1 parent 8a133dd commit c13435f

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

src/content/docs/cache/interaction-cloudflare-products/r2.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ head:
99

1010
---
1111

12-
To enable edge caching for a [Cloudflare R2](/r2/) bucket, make sure your bucket is public and accessible by the Cache. This can be done by creating a [Custom Domain](/r2/buckets/public-buckets/#custom-domains). Follow these steps to set up a Custom Domain for your bucket:
12+
To enable caching for a [Cloudflare R2](/r2/) bucket, make sure your bucket is public and accessible by the Cache. This can be done by creating a [Custom Domain](/r2/buckets/public-buckets/#custom-domains). Follow these steps to set up a Custom Domain for your bucket:
1313

1414
1. Go to **R2** and select your bucket.
1515
2. On the bucket page, select **Settings**.
@@ -19,6 +19,12 @@ To enable edge caching for a [Cloudflare R2](/r2/) bucket, make sure your bucket
1919

2020
This will generate a publicly available CNAME in the format `[name].domain.com`.
2121

22+
## Tiered Cache
23+
24+
By default Cloudflare will cache R2 content based on [cache rules](/cache/how-to/cache-rules/) at the Edge only.
25+
26+
Tiered cache can be enabled by configuring [Smart Tiered Cache](/cache/how-to/tiered-cache/#smart-tiered-cache) which will select an Upper Tier data center next to your R2 bucket for optimal performance.
27+
2228
## Additional considerations
2329

2430
- Apply access controls to your newly public bucket. Refer to [Control cache access with WAF and Snippets](/cache/interaction-cloudflare-products/waf-snippets/) for more information.

src/content/docs/r2/buckets/public-buckets.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ Currently, public buckets do not let you list the bucket contents at the root of
2929

3030
Domain access through a custom domain allows you to use [Cloudflare Cache](/cache/) to accelerate access to your R2 bucket.
3131

32+
Configure your cache to use [Smart Tiered Cache](/cache/how-to/tiered-cache/#smart-tiered-cache) to have a single upper tier data center next to your R2 bucket.
33+
3234
:::note
3335

3436
By default, only certain file types are cached. To cache all files in your bucket, you must set a Cache Everything page rule. For more information on default Cache behavior and how to customize it, refer to [Default Cache Behavior](/cache/concepts/default-cache-behavior/#default-cached-file-extensions)

src/content/docs/r2/platform/limits.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ Limits specified in MiB (mebibyte), GiB (gibibyte), or TiB (tebibyte) are storag
3737

3838
## Caching
3939

40-
Currently Cloudflare's [Tiered Cache](/cache/how-to/tiered-cache/) feature is not compatible with responses from R2. These responses will act as if Tiered Cache is not configured.
40+
Optimize edge caching for your R2 content by enabling **Cache Everything** or setting more specific cache rules. Further refine cache levels by enabling [Tiered Cache](/cache/how-to/tiered-cache/).

0 commit comments

Comments
 (0)