v1.0.0 of darto_cache
The official repository for Dart and Flutter packages. [Unoffic…
May 30, 2026
Cache primitives for Darto — a tiny Cache interface with a zero-dep MemoryCache (LRU + TTL) and a RedisCache adapter for shared/distributed caching. Changelog excerpt: - Initial release. - Cacheinterface: get / set / delete / has / clear / close— small, async, prefix-aware. - MemoryCache— zero-dep in-process cache with lazy TTL expiry and optional LRU eviction (maxEntries). O(1) lookup and write. - RedisCache— distributed adapter on top of the redisdriver (pure-Dart). JSON codec for values, key prefixing, prefix-scoped clear()via SCAN+ batched DEL(or FLUSHDBwhen unprefixed). - cache.remember(key, {ttl, builder})— read-through helper.
Discussion in the ATmosphere