I think here the second param has nothing to do with `waitForRemote`, but it's used to disable caching.

So to cache a path you just call `client.cache(path)` and to disable caching you call `client.cache(path, false)`.