Rate Limiting rules
Rate Limiting rules allow you to define rate limits for incoming requests matching an expression, as well as actions to take when those rate limits are reached.
Like other rules evaluated by Cloudflare's ruleset engine, Rate Limiting rules have an associated expression and an action.
The expression specifies the criteria you are matching traffic on — the same as in . The action specifies what to perform when there is a match for the rule and any additional conditions are met. In the case of Rate Limiting rules, the action occurs when the request rate reaches the specified limit.
Besides these two parameters, Rate Limiting rules require the following additional parameters:
- Characteristics — The set of parameters that define how Cloudflare tracks the request rate for this rule.
- Period — The period of time to consider (in seconds) when evaluating the request rate.
- Requests per period — The number of requests over the period of time that will trigger the Rate Limiting rule.
- Mitigation timeout — Once the request rate is reached, the Rate Limiting rule blocks further requests for the period of time defined in this field.