File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -164,8 +164,6 @@ E.g.,
164
164
``` javascript
165
165
var myStore = require (' your-homemade-store' );
166
166
var cache = cacheManager .caching ({store: myStore});
167
- // or
168
- var cache = cacheManager .caching ({store: ' /path/to/your/store' });
169
167
```
170
168
171
169
### Multi-Store
@@ -209,7 +207,7 @@ multiCache.wrap(key2, function (cb) {
209
207
210
208
### Specifying What to Cache
211
209
212
- Both the ` caching ` and ` multicaching ` modules allow you to pass in a callback function called
210
+ Both the ` caching ` and ` multicaching ` modules allow you to pass in a callback function named
213
211
` isCacheableValue ` which is called with every value returned from cache or from a wrapped function.
214
212
This lets you specify which values should and should not be cached. If the function returns true, it will be
215
213
stored in cache. By default the caches cache everything except ` undefined ` .
@@ -262,7 +260,7 @@ Run the tests and JShint:
262
260
## Contribute
263
261
264
262
If you would like to contribute to the project, please fork it and send us a pull request. Please add tests
265
- for any new features or bug fixes. Also run ` ` make` ` before submitting the pull request.
263
+ for any new features or bug fixes. Also run ` make` before submitting the pull request.
266
264
267
265
268
266
## License
You can’t perform that action at this time.
0 commit comments