Home
last modified time | relevance | path

Searched refs:cacheManager (Results 1 – 4 of 4) sorted by relevance

/third_party/node/deps/npm/node_modules/make-fetch-happen/
Dindex.js52 if (opts.cacheManager) {
57 return opts.cacheManager.delete(req, opts)
62 if (typeof opts.cacheManager === 'string') {
68 opts.cacheManager = new Cache(opts.cacheManager, opts)
93 if (opts.cacheManager) {
116 opts.cacheManager &&
126 return opts.cacheManager.match(req, opts).then(res => {
258 return opts.cacheManager.put(req, condRes, opts)
342 if (opts.cacheManager) {
352 return opts.cacheManager.put(req, res, opts)
[all …]
DREADME.md23 * [`opts.cacheManager`](#opts-cache-manager)
38 cacheManager: './my-cache' // path where cache will be written (and read)
106 cacheManager: './my-local-cache'
139 * [`opts.cacheManager`](#opts-cache-manager) - Cache target to read/write
150 #### <a name="opts-cache-manager"></a> `> opts.cacheManager`
184 cacheManager: './my-local-cache'
188 cacheManager: new MyCustomRedisCache(process.env.PORT)
233 …ndard `fetch` API cache option. This option will do nothing if [`opts.cacheManager`](#opts-cache-m…
248 cacheManager: './my-cache'
DCHANGELOG.md585 * **cache:** opts.cache -> opts.cacheManager; opts.cacheMode -> opts.cache
/third_party/node/deps/npm/node_modules/npm-registry-fetch/
Dindex.js93 cacheManager: opts.cache, property