getCacheStats method

Map<String, dynamic> getCacheStats()

Returns cache statistics.

Useful for monitoring and debugging cache behavior.

Example:

final stats = client.getCacheStats();
print('Cache size: ${stats['size']}');
print('Default policy: ${stats['defaultPolicy']}');

Implementation

Map<String, dynamic> getCacheStats() {
  return _cacheLink.getStats();
}