diff --git a/route/route.go b/route/route.go index c4907663..1c4da4b7 100644 --- a/route/route.go +++ b/route/route.go @@ -400,6 +400,7 @@ func (r *Router) matchRule( match: for currentRuleIndex, currentRule := range r.rules { + metadata.ResetRuleCache() if !currentRule.Match(metadata) { continue }