MCPcopy Create free account
hub / github.com/breck7/scroll / _setInResponseCache

Method _setInResponseCache

external/.scrollLibs.js:23775–23778  ·  view source on GitHub ↗
(url, res)

Source from the content-addressed store, hash-verified

23773 return hit
23774 }
23775 _setInResponseCache(url, res) {
23776 this._httpGetResponseCache[url] = res
23777 return this
23778 }
23779 async httpGetUrlFromCache(url, queryStringMap = {}, responseClass = WillowHTTPResponse) {
23780 const cacheKey = url + JSON.stringify(queryStringMap)
23781 const cacheHit = this._getFromResponseCache(cacheKey)

Callers 1

httpGetUrlFromCacheMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected