1234567891011121314151617181920/** * Cache statistics for wisp-hosting-service * * With tiered storage, most caching is handled transparently. * In-memory caches are managed by the centralized CacheManager. */
import { cache } from './cache-manager'import { storage } from './storage'
// Get overall cache statisticsexport async function getCacheStats() { const tieredStats = await storage.getStats()
return { tieredStorage: tieredStats, inMemory: cache.getStats(), }}