Documentation menu
Docs › API
Limits and quotas
These limits keep the platform fair and predictable. Most can be raised on Business and Enterprise plans; write to support if you need more.
Requests and objects
| Limit | Free | Pro | Business | Enterprise |
|---|---|---|---|---|
| Maximum cached object size | 512 MB | 5 GB | 20 GB | Custom |
| Maximum request body (upload) | 100 MB | 500 MB | 2 GB | Custom |
| Request header size | 32 KB total, 16 KB per header | |||
| URL length | 16 KB | |||
| Origin response timeout | 30 s | 60 s | 120 s | Custom |
| WebSocket idle timeout | 300 s | |||
Objects larger than 100 MB are cached in 16 MB slices, so range requests and resumed downloads are served from cache even when the full object has never been requested.
Configuration
| Limit | Free | Pro | Business | Enterprise |
|---|---|---|---|---|
| Sites per account | 3 | 10 | 50 | Unlimited |
| Cache rules per site | 10 | 100 | 500 | Unlimited |
| Custom WAF rules | – | 10 | 100 | 1,000 |
| Deploys per hour | 20 | 60 | 120 | Custom |
| Configuration versions kept | 10 | 100 | 1,000 | Unlimited |
API rate limits
The API allows 1,200 requests per five minutes per token, with bursts of up to 100 requests per second. Purge endpoints have their own limits:
| Endpoint | Limit |
|---|---|
| Purge by URL or tag | 1,000 requests per minute, 500 URLs or 100 tags each |
| Purge by prefix | 100 requests per minute |
| Purge everything | 1 request per minute per site |
Every API response includes rate limit headers:
ratelimit-limit: 1200
ratelimit-remaining: 1187
ratelimit-reset: 214When you exceed a limit the API returns 429 Too Many Requests with a retry-after header in seconds. The official SDKs retry automatically with exponential backoff.
Was this page helpful? Tell us what was missing at support@cache.bz. Every message is read by the team that writes these docs.