Skip to content

Commit ce4bd39

Browse files
Update internal/responsecache/simple.go
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 1574e3b commit ce4bd39

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/responsecache/simple.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func (m *simpleCacheMiddleware) TryHit(c *echo.Context, body []byte) (bool, erro
8484
}
8585
if len(cached) > 0 {
8686
c.Response().Header().Set("Content-Type", "application/json")
87-
c.Response().Header().Set("X-Cache", "HIT")
87+
c.Response().Header().Set("X-Cache", "HIT (exact)")
8888
c.Response().WriteHeader(http.StatusOK)
8989
_, _ = c.Response().Write(cached)
9090
slog.Info("response cache hit (exact)",

0 commit comments

Comments
 (0)