getCacheInfo api - cornerstonejs/cornerstone GitHub Wiki
The getCacheInfo api call is used to access information about the image cache. This intended to be used for debugging and diagnostic use cases.
function getCacheInfo();
Returns: object with the following properties:
- maximumSizeInBytes : maximum cache size in bytes
- cacheSizeInBytes : current cache size in bytes
- numberOfImagesCached: number of images currently in the cache