-
Notifications
You must be signed in to change notification settings - Fork 10k
Create 2025-09-03-rate-limiting-improvement.mdx #24896
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+32
−0
Merged
Changes from 1 commit
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
38dd35a
Create 2025-09-03-rate-limiting-improvement.mdx
KaydeeDee 9e6b3a1
Update src/content/changelog/fundamentals/2025-09-03-rate-limiting-im…
KaydeeDee 6e65a8c
Update src/content/changelog/fundamentals/2025-09-03-rate-limiting-im…
KaydeeDee b05b291
Update src/content/changelog/fundamentals/2025-09-03-rate-limiting-im…
KaydeeDee ae500b9
Update src/content/changelog/fundamentals/2025-09-03-rate-limiting-im…
KaydeeDee b0302de
Update src/content/changelog/fundamentals/2025-09-03-rate-limiting-im…
KaydeeDee 9f7b0fd
Update src/content/changelog/fundamentals/2025-09-03-rate-limiting-im…
KaydeeDee File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
src/content/changelog/fundamentals/2025-09-03-rate-limiting-improvement.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| --- | ||
| title: Introducing new headers to Rate Limiting for Core APIs at Cloudflare | ||
| description: New headers and a backoff introduced for SDKs for Rate Limiting for Core APIs | ||
KaydeeDee marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
KaydeeDee marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| products: | ||
| - fundamentals | ||
| date: 2025-09-03 | ||
| --- | ||
| With the increased demand on Core APIs at Cloudflare, we recognize that reaching a rate limit without warning and being forced to wait for the time out can be frustrating. To ensure greater predictability when calling Cloudflare's Core APIs, we have introduced standardized headers to help you understand when you are approaching a rate limit, how many more calls are left until the rate limit is reached, as well as how long you will need to wait until more capacity is available. | ||
KaydeeDee marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| Our SDKs will also be working with these new headers, responding with a back off when rate limits are being approached. There is nothing that needs to be enable on your end - these back offs will happen on their own. | ||
KaydeeDee marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| As always, if you need any help with rate limits, please contact Support. | ||
|
|
||
| ### Changes | ||
| #### New Headers | ||
|
|
||
| **Headers that are always returned:** | ||
| - X-RateLimit-Limit: Total Number of requests the caller can make | ||
| - X-RateLimit-Remaining: Number of requests before Rate Limit kicks in | ||
|
|
||
| **Returned only when a rate limit has been reached (error code: 429):** | ||
| - Retry-After: Number of Seconds until more capacity is available, rounded up | ||
| - X-RateLimit-Reset: RFC 1123 Formatted Date as to when more capacity is available | ||
|
|
||
| #### SDK Back offs | ||
| - All SDKs will automatically respond to the headers, instituting a backoff when limits are approached. | ||
|
|
||
| ### GraphQL and Edge APIs | ||
| These new headers and back offs are only in effect for Cloudflare Core APIs, and will not effect GraphQL or Edge APIs. | ||
KaydeeDee marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.