Skip to content

Commit c12ae55

Browse files
authored
Apply suggestions from code review
1 parent 1d7344b commit c12ae55

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

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

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@ Public buckets can be set up in either one of two ways:
1414
- Expose your bucket as a custom domain under your control.
1515
- Expose your bucket using a Cloudflare-managed `https://r2.dev` subdomain for non-production use cases.
1616

17-
These options can be used independently or together, enabling custom domains does not require enabling `r2.dev` access.
17+
These options can be used independently. Enabling custom domains does not require enabling `r2.dev` access.
1818

19-
To use features like WAF custom rules, caching, access controls, or bot management, you must configure your bucket behind a custom domain.
20-
These capabilities are not available when using the `r2.dev` development url.
19+
To use features like WAF custom rules, caching, access controls, or bot management, you must configure your bucket behind a custom domain. These capabilities are not available when using the `r2.dev` development url.
2120

2221
:::note
2322

@@ -36,6 +35,7 @@ Configure your cache to use [Smart Tiered Cache](/cache/how-to/tiered-cache/#sma
3635
:::note
3736

3837
By default, only certain file types are cached. To cache all files in your bucket, you must set a Cache Everything page rule.
38+
3939
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)
4040

4141
:::
@@ -62,7 +62,7 @@ To specify the minimum TLS version of a custom hostname of an R2 bucket, you can
6262
The domain being used must have been added as a [zone](/fundamentals/setup/accounts-and-zones/#zones) in the same account as the R2 bucket.
6363

6464
- If your domain is already managed by Cloudflare, you can proceed to Connect a bucket to a custom domain.
65-
- If your domain is not managed by Cloudflare, you’ll need to set it up using a [partial (CNAME) setup](/dns/zone-setups/partial-setup/) to add it to your account.
65+
- If your domain is not managed by Cloudflare, you need to set it up using a [partial (CNAME) setup](/dns/zone-setups/partial-setup/) to add it to your account.
6666

6767
Once the domain exists in your Cloudflare account (regardless of setup type), you can link it to your bucket.
6868

@@ -75,6 +75,7 @@ To view the added DNS record, select **...** next to the connected domain and se
7575
:::note
7676

7777
If the zone is on an Enterprise plan, make sure that you [release the zone hold](/fundamentals/setup/account/account-security/zone-holds/#release-zone-holds) before adding the custom domain.
78+
7879
A zone hold would prevent the custom subdomain from activating.
7980

8081
:::
@@ -93,29 +94,26 @@ To disable a domain:
9394

9495
## Remove domain
9596

96-
Removing a custom domain will disconnect it from your bucket and delete its configuration from the dashboard.
97-
Your bucket will remain publicly accessible through any other enabled access method, but the domain will no longer appear in the connected domains list.
97+
Removing a custom domain will disconnect it from your bucket and delete its configuration from the dashboard. Your bucket will remain publicly accessible through any other enabled access method, but the domain will no longer appear in the connected domains list.
9898

9999
To remove a domain:
100100

101101
1. In **R2**, select the bucket you want to modify.
102102
2. On the bucket page, Select **Settings**, go to **Custom Domains**.
103103
3. Next to the domain you want to disable, select **...** and **Remove domain**.
104-
4. Select ‘Remove domain’ in the confirmation window. The CNAME record pointing to the domain will also be removed as part of this step. You can always add the domain again.
104+
4. Select ‘Remove domain’ in the confirmation window. This step also removes the CNAME record pointing to the domain. You can always add the domain again.
105105

106-
## Public Development URL
106+
## Public development URL
107107

108-
Expose the contents of this R2 bucket to the internet through a Cloudflare-managed r2.dev subdomain.
109-
This endpoint is intended for non-production traffic.
108+
Expose the contents of this R2 bucket to the internet through a Cloudflare-managed r2.dev subdomain. This endpoint is intended for non-production traffic.
110109

111110
:::note
112111

113112
Public access through `r2.dev` subdomains are rate limited and should only be used for development purposes.
114113

115114
To enable access management, Cache and bot management features, you must set up a custom domain when enabling public access to your bucket.
116115

117-
Avoid creating a CNAME record pointing to the `r2.dev` subdomain. This is an **unsupported access path**, and we cannot guarantee consistent reliability or performance.
118-
For production use, [add your domain to Cloudflare](#add-your-domain-to-cloudflare) instead.
116+
Avoid creating a CNAME record pointing to the `r2.dev` subdomain. This is an **unsupported access path**, and we cannot guarantee consistent reliability or performance. For production use, [add your domain to Cloudflare](#add-your-domain-to-cloudflare) instead.
119117
:::
120118

121119
### Enable public development url
@@ -134,9 +132,9 @@ To verify that your bucket is publicly accessible, check that **Public URL Acces
134132

135133
### Disable public development url
136134

137-
Disabling public development URL access removes your bucket’s exposure through the `r2.dev` subdomain.
138-
The bucket and its objects will no longer be accessible via the Public Bucket URL.
139-
If you’ve connected other domains, the bucket will remain accessible through those.
135+
Disabling public development URL access removes your bucket’s exposure through the `r2.dev` subdomain. The bucket and its objects will no longer be accessible via the Public Bucket URL.
136+
137+
If you have connected other domains, the bucket will remain accessible for those domains.
140138

141139
To disable public access for your bucket:
142140

0 commit comments

Comments
 (0)