omniClientBypassListCache

Defined in OmniClient.h

void omniClientBypassListCache(bool bypass)

Bypass the internal cache for list requests.

Typically any time a folder is listed, or any time an item in a folder is stat’d, we establish a subscription to keep our cache up-to-date If you are going to be performing a lot of lists on many different folders, these subscriptions can add up. If you are not listing the same folders over and over again, the cache can end up doing more harm than good. In this case, you can call this function with (true) and future list requests will go directly to the server, bypassing the cache.