Browse Source

readme fix, history.md update

feature/specify-what-to-cache
Bryan Donovan 10 years ago
parent
commit
4a1510565c
  1. 4
      History.md
  2. 4
      README.md

4
History.md

@ -1,3 +1,7 @@
- {next release} 2015-05-17
- By default, cache falsey values like `false`, `0`, and `null`, but not `undefined` (#25).
- Allow users to pass in callback function `isCacheableValue` to specify what to cache.
- 0.19.0 2015-03-29
- Pass dispose, length & stale options to lru-cache (#22). - @gmaclennan

4
README.md

@ -236,7 +236,9 @@ And pass it to `multicaching` like this:
```javascript
var multiCache = cacheManager.multiCaching([memoryCache, someOtherCache], {isCacheableValue: isCacheableValue});
var multiCache = cacheManager.multiCaching([memoryCache, someOtherCache], {
isCacheableValue: isCacheableValue
});
```

Loading…
Cancel
Save