Skip to content

Commit db078c8

Browse files
[Cache] Updates plan information (#21285)
* Updates plan information * Update src/content/docs/cache/how-to/purge-cache/index.mdx Co-authored-by: Rebecca Tamachiro <[email protected]> * Updates after review --------- Co-authored-by: Rebecca Tamachiro <[email protected]>
1 parent 35acd0d commit db078c8

File tree

6 files changed

+34
-25
lines changed

6 files changed

+34
-25
lines changed

src/content/docs/cache/how-to/purge-cache/index.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,16 @@ Cloudflare's Instant Purge ensures that updates to your content are reflected im
1414
If versioning is active on your zone and multiple environments are configured, you can select the specific environment you want to purge. For more details, refer to the [Version Management](/version-management/) documentation.
1515
:::
1616

17+
## Purge limits
18+
1719
<FeatureTable id="cache.purge_cache" />
20+
21+
### Token bucket rate limiting
22+
23+
Cloudflare uses token bucket rate limiting to limit the number of purge requests flowing through the system at any given time, ensuring a steady and manageable flow.
24+
25+
Each account tier has a defined request rate (for example, Free: 5 requests per minute, Business: 10 requests per second), and requests are only allowed if there are available tokens in the bucket. Tokens refill at a consistent rate, but each bucket has a maximum capacity (for example, Free: 25 tokens, Enterprise: 500 tokens), allowing short bursts of requests if tokens have accumulated.
26+
27+
If the bucket is empty, further requests must wait until new tokens are added. This system maintains fair usage while allowing occasional bursts within the bucket's capacity.
28+
29+
If you are an Enterprise customer and you need more operations, reach out to your account team for support.

src/content/docs/cache/how-to/purge-cache/purge-by-hostname.mdx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,7 @@ Purging by hostname means that all assets at URLs with a host that matches one o
1919
6. Enter the appropriate value(s) in the text field using the format shown in the example.
2020
7. Select **Purge**.
2121

22-
:::note[API]
23-
24-
25-
You can purge hostnames via the Cloudflare API. For more information, refer to the [API documentation](/api/resources/cache/methods/purge/). You can use up to 30 hostnames per API call and make up to 30,000 purge API calls in a 24-hour period.
26-
27-
28-
:::
22+
For information on rate limits, refer to the [Purge limits](/cache/how-to/purge-cache/#purge-limits) section.
2923

3024
## Resulting cache status
3125

src/content/docs/cache/how-to/purge-cache/purge-by-single-file.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sidebar:
77

88
With purge by single-file, cached resources are instantly removed from the stored assets in your Content Delivery Network (CDN) across all data centers. New requests for the purged asset receive the latest version from your origin web server and add it back to your CDN cache within the specific Cloudflare data center that served the request.
99

10-
The single-file purge rate limit for the Free subscription is 1,000 URLs/minute. The rate limit is subject to change. For Zones on Free/Pro/Business plan, you may purge up to 30 URLs in one API call. For Zones on Enterprise plan, you may purge up to 500 URLs in one API call.
10+
For information on single-file purge rate limits, refer to the [Purge limits](/cache/how-to/purge-cache/#purge-limits) section.
1111

1212
A single-file purge performed through your Cloudflare dashboard does not clear objects that contain any of the following:
1313

src/content/docs/cache/how-to/purge-cache/purge-by-tags.mdx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,9 @@ When your content reaches our edge network, Cloudflare:
5353
5. In the text box, enter your tags to use to purge the cached resources. To purge multiple cache-tagged resources, separate each tag with a comma or have one tag per line.
5454
6. Select **Purge**.
5555

56-
:::note[API]
56+
For information on rate limits, refer to the [Purge limits](/cache/how-to/purge-cache/#purge-limits) section.
5757

5858

59-
You can purge using cache-tags via the Cloudflare API. For more information, refer to the [API documentation](/api/resources/cache/methods/purge/). You can purge up to 30 cache-tags per API call and up to 250,000 cache-tags per a 24-hour period.
60-
61-
62-
:::
63-
6459
## Resulting cache status
6560

6661
Purging by tag deletes the resource, resulting in the `CF-Cache-Status` header being set to [`MISS`](/cache/concepts/cache-responses/#miss) for subsequent requests.

src/content/docs/cache/how-to/purge-cache/purge_by_prefix.mdx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,7 @@ Purging by prefix is useful in different scenarios, such as:
3030
6. Enter the appropriate value(s) in the text field using the format shown in the example.
3131
7. Select **Purge**.
3232

33-
:::note[API]
34-
35-
36-
You can purge prefixes via the Cloudflare API. For more information, refer to the [API documentation](/api/resources/cache/methods/purge/). You can use up to 30 prefixes per API call and make up to 30,000 purge API calls in a 24-hour period.
37-
38-
39-
:::
33+
For information on rate limits, refer to the [Purge limits](/cache/how-to/purge-cache/#purge-limits) section.
4034

4135
:::caution[Warning]
4236

src/content/plans/index.json

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -437,10 +437,24 @@
437437
},
438438
"options": {
439439
"title": "Purge options",
440-
"free": "URL",
441-
"pro": "URL",
442-
"biz": "URL",
443-
"ent": "URL, Hostname, Tag, or Prefix"
440+
"free": "URL, Hostname, Tag, Prefix, and Purge Everything",
441+
"pro": "URL, Hostname, Tag, Prefix, and Purge Everything",
442+
"biz": "URL, Hostname, Tag, Prefix, and Purge Everything",
443+
"ent": "URL, Hostname, Tag, Prefix, and Purge Everything"
444+
},
445+
"limits": {
446+
"title": "Purge limits (tags, prefix URL, hostname, and purge everything). The limits are per account.",
447+
"free": "5 requests per minute with a bucket size of 25, supporting up to 100 operations per request. Purge everything: 5 requests per second with a bucket size of 25, supporting up to 100 operations per request",
448+
"pro": "5 requests per second with a bucket size of 25, supporting up to 100 operations per request",
449+
"biz": "10 requests per second with a bucket size of 50, supporting up to 100 operations per request",
450+
"ent": "50 requests per second with a bucket size of 500, supporting up to 100 operations per request"
451+
},
452+
"limits_single_file": {
453+
"title": "Purge limits (single file purge). The limits are per account.",
454+
"free": "800 URLs per second",
455+
"pro": "1500 URLs per second",
456+
"biz": "1500 URLs per second",
457+
"ent": "3000 URLs per second"
444458
}
445459
}
446460
},

0 commit comments

Comments
 (0)