We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e48cc2 commit 02ef480Copy full SHA for 02ef480
lib/util/http/cache/abstract-http-cache-provider.ts
@@ -89,6 +89,9 @@ export abstract class AbstractHttpCacheProvider implements HttpCacheProvider {
89
logger.debug(
90
`http cache: Using cached response: ${url} from ${timestamp}`,
91
);
92
+ httpCache.timestamp = new Date().toISOString();
93
+ await this.persist(url, httpCache);
94
+
95
HttpCacheStats.incRemoteHits(url);
96
const cachedResp = copyResponse(
97
httpCache.httpResponse as HttpResponse<T>,
0 commit comments