You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Chris Hafey edited this page May 6, 2014
·
1 revision
The setMaximumSizeBytes api call is used to set the maximum number of bytes for cornerstone to use for cacheing images. If the cache size exceeds the new maximum size, images will be purged until this is no longer the case. A size of 0 will completely disable the cache.
function setMaximumSizeBytes(numBytes);
Parameters:
numBytes - the new maximum size of the image cache in bytes