Closed theKashey closed 4 years ago
[x] enable faster cache management Right now on enable / disable wipeCache is called twice, however only one command should be called in a single point of time https://github.com/theKashey/rewiremock/blob/master/src/wipeCache.js#L24-L25
enable
disable
[x] allow optimistic cache management (#86) No extract cache management is required with .directChildrenOnly(.relative plugin), as long as cache is actually untouched. This might provide huge performance benefits https://github.com/theKashey/rewiremock/blob/master/src/plugins/relative.js#L23
.directChildrenOnly
.relative
[x] enable faster cache management Right now on
enable
/disable
wipeCache is called twice, however only one command should be called in a single point of time https://github.com/theKashey/rewiremock/blob/master/src/wipeCache.js#L24-L25[x] allow optimistic cache management (#86) No extract cache management is required with
.directChildrenOnly
(.relative
plugin), as long as cache is actually untouched. This might provide huge performance benefits https://github.com/theKashey/rewiremock/blob/master/src/plugins/relative.js#L23