ARC2 Proxy
Caching Path rule enum

match_type

How a path or user-agent string is compared: Equals, StartsWith, Contains, …

Config key
match_type
Scope
Path rule
Type
enum
Default
none

Selects the string-comparison used by path rules and user-agent rules. The available values are:

  • Equals — exact match.
  • StartsWith — prefix match (the usual choice for a directory like /static).
  • EndsWith — suffix match (e.g. a file extension).
  • Contains — substring match anywhere.
  • DoesNotEqual — inverse of Equals.
  • DoesNotContain — inverse of Contains.
ℹ️Where it is used
The same enum drives path_rules and disallowed_user_agents, so a single mental model covers both.
match_type = "StartsWith"