MCPcopy Index your code
hub / github.com/nodejs/node / cache

Function cache

lib/internal/http.js:29–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27}
28
29function cache() {
30 const d = new Date();
31 utcCache = d.toUTCString();
32 setUnrefTimeout(resetCache, 1000 - d.getMilliseconds());
33}
34
35function resetCache() {
36 utcCache = undefined;

Callers 1

utcDateFunction · 0.85

Calls 1

setUnrefTimeoutFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…