Skip to content

Commit

Permalink
updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
conancat committed May 30, 2014
1 parent 028d1a3 commit 5bbc5ae
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions readme.md
Expand Up @@ -162,16 +162,15 @@ Cool for high-volume data reading!
mongooseRedisCache(mongoose, {
cache: true
})
REQUIRED
Set cache to true if you need to enable caching.
This is different from the original branch

OPTIONAL
Set cache to true if you need to enable caching for all collections.

### redisCache: Boolean

ExampleSchema.set('redisCache', true)

REQUIRED
OPTIONAL
Call this function on whatever collection you want to cache. You don't have to use this on every collection,
right? Pick and choose your collections wisely, you shall.

Expand Down

0 comments on commit 5bbc5ae

Please sign in to comment.