src/caching.js
function (path) {
    if (this._rootPaths[path] !== undefined) {
      return this._rootPaths[path];
    } else if (path === '/') {
      return 'SEEN';
    } else {
      return this.checkPath(containingFolder(path));
    }
  }
function (path) {
    if (this._rootPaths[path] !== undefined) {
      return this._rootPaths[path];
    } else if (path === '/') {
      return 'SEEN';
    } else {
      return this.checkPath(containingFolder(path));
    }
  }
Retrieve caching setting for a given path, or its next parent
with a caching strategy set.

@param {string} path - Path to retrieve setting for
@returns {string} caching strategy for the path