nl_tokens: Configure caching for a given path explicitly .
pl_tokens: function ( path , strategy ) { if ( typeof path !== 'string' ) { throw new Error ( 'path should be a string' ) ; } if ( ! util . isFolder ( path ) ) { throw new Error ( 'path should be a folder' ) ; } if ( this . _remoteStorage && this . _remoteStorage . access && ! this . _remoteStorage . access . checkPathPermission ( path , 'r' ) ) { throw new <mask> ( 'No access to path "' + path + '". You have to claim access to it first.' ) ; } if ( ! strategy . match ( / ^(FLUSH|SEEN|ALL)$ / ) ) { throw new Error ( "strategy should be 'FLUSH', 'SEEN', or 'ALL'" ) ; } this . _rootPaths [ path ] = strategy ; if ( strategy === 'ALL' ) { if ( this . activateHandler ) { this . activateHandler ( path ) ; } else { this . pendingActivations . push ( path ) ; } } }