Hi,
I have populated my cache with at least 2MB data. Now when I run the below the curl command in the management server I am not able to get the cache current size. It is coming as zero.
curl -X GET http://localhost:8080/v1/organizations/my-org/environments/my-env/caches/myAPICache -u username:password
Response
{ "description" : "myAPICache", "diskSizeInMB" : 0, "distributed" : true, "expirySettings" : { "expiryDate" : { "value" : "08-31-2017" }, "valuesNull" : false }, "inMemorySizeInKB" : 0, "maxElementsInMemory" : 0, "maxElementsOnDisk" : 0, "name" : "myAPICache", "overflowToDisk" : false, "persistent" : false }
Am i missing something?
BTW, I am able to retrieve data from the cache.
Thanks,
Krish