chore: expose http caching in log

This commit is contained in:
andig 2025-12-20 13:35:27 +01:00
parent c0a8472e08
commit 26d61914f9

View file

@ -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 {