Does WAF rules use short circuit?

Type of feedback

Usage

Feedback

Hi folks

Cloudflare WAF is fast but every condition counts… With this in mind, do WAF Custom Rules can short-circuit?

For example if all conditions in the rule are AND I’d put the condition excluding most traffic first, AND the second condition and so on. Would this rule be faster (due to short-circuit) than the same rule in no specific order (if short-circuit is not supported)?

Cheers

Hello,

We have no limitation on how you deploy the rules. If you are seeing any specific errors it could be due to the logic of the rule? Or it could be an issue we need to investigate. Do you have any examples of a rule that is failing?

Thanks for you reply.I did not mention rules failing.

Knowing if Short Circuitingcis applied would allow us to create more efficient rules.

Just thinking about speed.