OptionalenabledEnable/disable caching for matching routes
OptionalendsPath must end with this suffix
OptionalincludesPath must contain this substring
OptionalisExact path match
OptionalmatchPath must match this regular expression
OptionalmethodsHTTP methods this rule applies to
OptionalserializerOverride serializer for this rule
OptionalskipSkip caching for this rule based on request context
OptionalstaleTime until stale for SWR (ms)
OptionalstartsPath must start with this prefix
OptionalttlTTL for cached responses (ms)
Rule for matching specific routes in cache configuration.