bloom_cache 0.2.0 copy "bloom_cache: ^0.2.0" to clipboard
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_server instead of bloom_framework. Imports change from package:bloom_framework/bloom_server.dart to package:bloom_server/bloom_server.dart.
  • No longer requires Flutter. The package now resolves against the Flutter-free bloom_server core, so it can be used from a plain dart run/dart compile backend.

0.1.0 #

  • Initial release of bloom_cache.
  • Core abstract BloomCache interface with JSON round-trip serialization and concurrent getOrSet deduplication.
  • InMemoryCache with real LRU eviction using LinkedHashMap and capacity bounds.
  • DatabaseCache backed by bloom_db and its unified DbExecutor abstraction (PostgreSQL & SQLite).
  • RedisCache backed by the official package:redis driver with TTL (millisecond precision) support.
  • BloomCacheMiddleware for route-level HTTP response caching on GET requests with header/path opt-out controls.
0
likes
0
points
334
downloads

Publisher

unverified uploader

Weekly Downloads

Server-side caching abstraction and backends (In-Memory LRU, Database, Redis) with HTTP response caching middleware for Bloom applications.

Repository (GitHub)
View/report issues

Topics

#bloom #cache #redis

License

unknown (license)

Dependencies

bloom_db, bloom_server, meta, redis

More

Packages that depend on bloom_cache