diff --git a/internal/api/middleware/response_cache/response_cache.go b/internal/api/middleware/response_cache/response_cache.go index 9657aae2..0c6ed7ae 100644 --- a/internal/api/middleware/response_cache/response_cache.go +++ b/internal/api/middleware/response_cache/response_cache.go @@ -120,7 +120,7 @@ func CreateKey(c *gin.Context) string { if err != nil { domain = "unknown" } - name := c.HandlerName() + name := c.Request.URL.Path query := c.Request.URL.Query().Encode() return fmt.Sprintf("response:%s:%s:%s", domain, name, query)