code: function set(req) {
          var cache = caches[this.name];
          if (!cache) {
              cache = caches[this.name] = createLocalCache();
          }
  
          if (!redisOffline) {
              try {
                  (req.value || !cache.del) ?
                      cache.set(req.key, req.value) :
                      cache.del(req.key);
              }
              catch (err) {
                  console.log('redis set err: ' + err);
              }
          }
      }
docs: Set a value in the cache
  @param req