clearCache method

int clearCache()

Cleans the cached requests.

Implementation

int clearCache() {
  var usedMemory = calculateCacheUsedMemory();
  _cache.clear();
  return usedMemory;
}