Cache Purge by URL API Limit - Pro Plan

https://developers.cloudflare.com/cache/how-to/purge-cache/
The single-file purge rate limit for the Free subscription is 1000 urls/min. The rate limit is subject to change.
Does the pro plan not have the limit of 1000 urls/min? What’s the actual limit for pro plan purge by URL? Is it the global limit for API calls? 🤔
Purge cache · Cloudflare Cache (CDN) docs
Cloudflare offers different options to purge your content. Although single-file cache purging (purge by URL) is recommended, the following options are …
8 Replies
Chaika
Chaika12mo ago
There is a global api limit of 1200/5 minutes, not sure of any other limits for single-file purges, Edit: There is also a limit of 30 URLs per purge, looks like
Hello, I’m Allie!
IIRC, Cache Purges explicitly run on their own Rate-limiting system, though weirdly, purge-by-url doesn't have limit documentation...
Chaika
Chaika12mo ago
https://community.cloudflare.com/t/does-the-1200-calls-per-5-minute-ratelimit-apply-to-the-purge-cache-api/406256 hmm yea, so the Pro limit is at least 36000 URLs / per 5 minutes or 7200 per minute (If you are optimally doing 30 URLs per purge), but could be more.
Hirvesh
Hirvesh12mo ago
Hmm, do we have actual official numbers off the url purge limits for pro plans? @chaika.me 🤔
Brandon | Cloudflare TSE
I'm looking through the docs and I see this here: https://developers.cloudflare.com/fundamentals/api/reference/limits/
Limits · Cloudflare Fundamentals docs
The global rate limit for the Cloudflare API is 1200 requests per five minutes. If you exceed this, all API calls for the next five minutes will be …
Brandon | Cloudflare TSE
However, the link that goes to Cache Purge API doesn't show a different limit for Purge by URL specifically IMO that seems like a tremendous amount of work and I'd be personally curious about the use case
Hirvesh
Hirvesh12mo ago
@Brandon | Support Engineer - I’m not actually using the full limit, but was just curious about what the actual limit is! I have a static blog platform which caches html pages on the Cloudflare CDN and needs to invalidate those when one of the pages if updated; hence my question 👀
Brandon | Cloudflare TSE
If your blog pages are stored in subdirectories by date, for example, blog.site/2023/02/article-title.html BUT you have the homepage blog.site/index.html which is updated frequently, you can set up the cache so that all the dated posts are cached, but the index never is. That'll save on bandwidth but still allow you to make sure your articled are completely cached.