Skip to content

Commit 127b83f

Browse files
committed
readme update
1 parent 551fe50 commit 127b83f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,6 @@ E.g.,
164164
```javascript
165165
var myStore = require('your-homemade-store');
166166
var cache = cacheManager.caching({store: myStore});
167-
// or
168-
var cache = cacheManager.caching({store: '/path/to/your/store'});
169167
```
170168

171169
### Multi-Store
@@ -209,7 +207,7 @@ multiCache.wrap(key2, function (cb) {
209207

210208
### Specifying What to Cache
211209

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
213211
`isCacheableValue` which is called with every value returned from cache or from a wrapped function.
214212
This lets you specify which values should and should not be cached. If the function returns true, it will be
215213
stored in cache. By default the caches cache everything except `undefined`.
@@ -262,7 +260,7 @@ Run the tests and JShint:
262260
## Contribute
263261
264262
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.
266264
267265
268266
## License

0 commit comments

Comments
 (0)