globalOptions.setCacheMode

Enable or disable caching completely.

Since caches are repository-specific, disabling the cache cannot immediately clear all the cached objects, but each cache will be cleared on the next attempt to update anything in it.

struct globalOptions
static
void
setCacheMode

Examples

setCacheMode(CacheMode.disabled);
setCacheMode(CacheMode.enabled);

Meta