Redis-hogan-cache
Use hogan.js with a cache in redis. You can use a already defined redis client
Require Redis-hogan-cache
var rhc =
Create a new RHC instance
//with a new redis client //with an already created redis client//redisClient = = redis.createClient()
/** * @param * @param * @param * @param * @param * @param * @param * @param * @param */
With Express
app//disable express cacheapp//setup html engineapp//define rhc as render engineapp
Just on a http server
//create a new rhc instancevar server = http