diff --git a/History.md b/History.md index 57a3510..6e5cf0a 100644 --- a/History.md +++ b/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 diff --git a/README.md b/README.md index 5afe8c2..ce28fb7 100644 --- a/README.md +++ b/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 +}); ```