Skip to content
Chris Hafey edited this page May 6, 2014 · 1 revision

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