code: function(key) {
        if (!cache) return null;
        var cached = cache.get(key);
        if (cached) console.log('cache hit: %s', key);
        return cached;
      }
docs: /*
  Get value by key from cache
  if cache is not set, return null.