Set of optional conditions based on which the accompanying behaviors execute.
How does it work?
Rules may specify an optional set of matches that are the IFs in your configuration. They impose certain conditions on the incoming client requests, or in some cases on the responses from the origin. If these conditions are met, the behaviors within the same rule execute.
Why use it?
Matches/Criteria help you narrow down the cases when certain behaviors should apply. Maybe you’d like to deny access to certain end-users based on their IPs? Or filter requests from mobile devices to serve alternate content? In such situations, matches come in handy.