conancat/mongoose-redis-cache — pull request #10 by lbeschastny (2013-08-12 08:30:49+00:00)
Title: Overcaching on population

When you querying MongoDB in mongoose with population it makes several queries calling `execFind` multiple times.

Current implementation caches every cal to `execFind`. So, each populated fields appear in cache twice.

Mongoose always lists `_id`s explicitly in its population query, so it seems improbable to me to hit such a cache.

So, I added `nocache` default option to all population queries to prevent ovarcaching.