Command line toolsUsing a cache store

Using a cache store

cn use cache STORE

Uses STORE to cache objects, and speed up subsequent requests of the same object. This is particularly useful when working with (slow) remote stores. The cache store should be a fast store, such as a local folder store or an in-memory store.

Cached objects are not linked to any account, and may disappear with the next garbage collection. Most stores however keep objects for a least a few hours after their last use.

cn drop cache

Stops using the cache.

cn cache

Shows which cache store is used (if any).