MCPcopy Index your code
hub / github.com/hapijs/hapi / _initializeCache

Method _initializeCache

lib/core.js:165–174  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

163 }
164
165 _initializeCache() {
166
167 if (this.settings.cache) {
168 this._createCache(this.settings.cache);
169 }
170
171 if (!this.caches.has('_default')) {
172 this._createCache([{ provider: CatboxMemory }]); // Defaults to memory-based
173 }
174 }
175
176 _info() {
177

Callers 1

constructorMethod · 0.80

Calls 1

_createCacheMethod · 0.80

Tested by

no test coverage detected