index.js
function store(path, options) {
  var str = templates[path];
  var cached = options.cache && str && typeof str === 'string';

  // cached (only if cached is a string and not a compiled template function)
  if (cached) return str;

  // store
  str = options.str;

  // remove extraneous utf8 BOM marker
  str = str.replace(/^\uFEFF/, '');
  if (options.cache) {
    templates[path] = str;
  }
  return str;
}
function store(path, options) {
  var str = templates[path];
  var cached = options.cache && str && typeof str === 'string';

  // cached (only if cached is a string and not a compiled template function)
  if (cached) return str;

  // store
  str = options.str;

  // remove extraneous utf8 BOM marker
  str = str.replace(/^\uFEFF/, '');
  if (options.cache) {
    templates[path] = str;
  }
  return str;
}
function store ( path , options ) { var str = templates [ path ] ; var cached = options . cache && str && typeof str === 'string' ; // cached (only if cached is a string and not a compiled template function) if ( cached ) return str ; // store str = options . str ; // remove extraneous utf8 BOM marker str = str . replace ( / ^\uFEFF / , '' ) ; if ( options . cache ) { templates [ path ] = str ; } return str ; }
Read `path` with `options`
When `options.cache`
is true the template string will be cached.

@param {String} path
@param {String} options
@api private
Read path with options When options . cache is true the template string will be cached .