remove cache eviction path from HttpClient

This commit is contained in:
Muki Kiboigo
2026-07-21 08:48:09 -07:00
parent 9aac078806
commit 70749a8077

View File

@@ -942,15 +942,6 @@ fn cacheLookup(self: *Client, transfer: *Transfer) !bool {
return true;
}
if (cached.metadata.hasValidators() == false) {
// Expired and no validators
lp.metrics.http_cache.incr(.miss);
cached.data.deinit();
cache.evict(req.url);
transfer._cache_intent = .store;
return false;
}
// expired but with validators
log.debug(.cache, "revalidate with etag", .{
.url = req.url,