size
Returns the total size in bytes of this cache. This is an optional operation that can be implemented by caches for debug or observability purposes, otherwise it defaults to -1, meaning unknown size.
Note: in case of chained caches, this size does not include the size of the next cache in the chain. See nextCache.