lib/swig.js
function cacheGet(key, options) {
    if (shouldCache(options)) {
      return;
    }

    if (self.options.cache === 'memory') {
      return self.cache[key];
    }

    return self.options.cache.get(key);
  }
function cacheGet(key, options) {
    if (shouldCache(options)) {
      return;
    }

    if (self.options.cache === 'memory') {
      return self.cache[key];
    }

    return self.options.cache.get(key);
  }
function cacheGet ( key , options ) { if ( shouldCache ( options ) ) { return ; } if ( self . options . cache === 'memory' ) { return self . cache [ key ] ; } return self . options . cache . get ( key ) ; }
Get compiled template from the cache.
@param  {string} key           Name of template.
@return {object|undefined}     Template function and tokens.
@private
Get compiled template from the cache .