bloom_cache 0.2.0
bloom_cache: ^0.2.0 copied to clipboard
Server-side caching abstraction and backends (In-Memory LRU, Database, Redis) with HTTP response caching middleware for Bloom applications.
Changelog #
0.2.0 - 2026-08-23 #
Breaking #
- Now depends on
bloom_serverinstead ofbloom_framework. Imports change frompackage:bloom_framework/bloom_server.darttopackage:bloom_server/bloom_server.dart. - No longer requires Flutter. The package now resolves against the Flutter-free
bloom_servercore, so it can be used from a plaindart run/dart compilebackend.
0.1.0 #
- Initial release of
bloom_cache. - Core abstract
BloomCacheinterface with JSON round-trip serialization and concurrentgetOrSetdeduplication. InMemoryCachewith real LRU eviction usingLinkedHashMapand capacity bounds.DatabaseCachebacked bybloom_dband its unifiedDbExecutorabstraction (PostgreSQL & SQLite).RedisCachebacked by the officialpackage:redisdriver with TTL (millisecond precision) support.BloomCacheMiddlewarefor route-level HTTP response caching on GET requests with header/path opt-out controls.