MCPcopy
hub / github.com/codeaashu/claude-code / clearWebFetchCache

Function clearWebFetchCache

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

Source from the content-addressed store, hash-verified

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

Callers 1

clearSessionCachesFunction · 0.85

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected