From 26d61914f9fec1b3c64fdfa96f719cb26e1a0020 Mon Sep 17 00:00:00 2001 From: andig Date: Sat, 20 Dec 2025 13:35:27 +0100 Subject: [PATCH] chore: expose http caching in log --- plugin/http.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugin/http.go b/plugin/http.go index 2de2f82ac..98b5909ca 100644 --- a/plugin/http.go +++ b/plugin/http.go @@ -120,8 +120,9 @@ func NewHTTP(log *util.Logger, method, uri string, insecure bool, cache time.Dur // http cache p.Client.Transport = &httpcache.Transport{ - Cache: mc, - Transport: p.Client.Transport, + Cache: mc, + MarkCachedResponses: true, + Transport: p.Client.Transport, } if cache > 0 {