http_cache_hive_store
5.1.1, released 4 months ago by cow-level.ovh
Hive cache store implementation for HTTP and Dio clients using hive_ce.
WASM-ready
What it does
Provides a database cache store implementation backed by hive_ce for HTTP clients like dio and http_cache_client. It handles caching responses, status codes, and managing cache storage safely with concurrent access guards.
AI-written summary of version 5.1.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are using dio or http_cache_client and need Hive-backed caching
- You require persistent caching for HTTP responses across app restarts
Skip it when
- You are not using a compatible HTTP client like dio or http
- You prefer an in-memory-only cache solution
Strengths
- Uses hive_ce for lightweight NoSQL storage
- Supports race condition guards and isolated Hive cache stores
- Avoids loading all values into RAM using lazy boxes
Weaknesses
- Tied specifically to hive_ce and supported HTTP client wrappers
- Limited documentation outside of basic usage references
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
Requires adding the package and its dependencies to pubspec.yaml.
Alternatives
Packages that do the same job and could replace http_cache_hive_store.
Works with
Packages commonly used together with http_cache_hive_store: ones it builds on, ones built on it, and its own family.