sequelize-cache is a caching-layer plugin for sequelize. It has some out-of-the-box features such as the ability to cache: locally, on a memcache server or on a redis server.
Work in Progress
npm install sequelize-cache --save
var Sequelize = require( 'sequelize' ),
.plugin( 'sequelize-cache' );
var redis = require( 'redis' ),
Sequelize = require( 'sequelize' ),
SequelizeCache = require( 'sequelize-cache' ),
.plugin( 'sequelize-cache', {
store: new SequelizeCache.Store.Redis({
client: new redis.createClient();
}),
});