MCPcopy Create free account
hub / github.com/Noumena-Network/code / clearWebFetchCache

Function clearWebFetchCache

src/tools/WebFetchTool/utils.ts:83–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81})
82
83export function clearWebFetchCache(): void {
84 URL_CACHE.clear()
85 DOMAIN_CHECK_CACHE.clear()
86}
87
88// Lazy singleton — defers the turndown → @mixmark-io/domino import (~1.4MB
89// retained heap) until the first HTML fetch, and reuses one instance across

Callers 2

utils.test.tsFile · 0.85
clearSessionCachesFunction · 0.85

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected