http_cache_hive_store
5.1.1A DB cache store agnostic HTTP client implementation with hive_ce.
Readme
http_cache_hive_store
Hive cache store implementation with hive_ce for:
Changelog
5.1.1
- perf: avoid redundant reads and batch deleteFromPath
- fix: Store race condition when cleaning at start and guard RW concurrent calls.
- fix: code duplication.
- fix: make CacheControlAdapter.other field null-safe
- fix: recover from a box closed by another store instance
- fix: initialize IsolatedHive before opening boxes.
- chore: Min SDK is now 3.8.0.
5.1.0
- feat: Add Isolated Hive cache store.
5.0.2
- chore: Min SDK is now 3.6.0.
- fix: Initialize home directory for box instead of Hive.
5.0.1
- feat: Allow to provide a Hive implementation to be used.
5.0.0
- feat: Saves response status code.
- chore: Updated dependencies.
4.0.0
- feat: Replace
hivewithhive_ce.
3.2.2
- chore: Updated dependencies.
3.2.1
- chore: Updated dependencies.
3.2.0
- feat: Add
Store.getFromPathmethod. - feat: Add
Store.deleteFromPathmethod.
3.1.1
- fix: Now using lazy box to avoid all values loaded into RAM.
3.1.0
- Add request date to stored values.
- Add encryptionCipher property for direct usage with Hive.
- Raise dio_cache_interceptor minimum version.
3.0.2
- core: Updated dependencies.
3.0.1
- fix: imports.
3.0.0
- Initial release.
Installing
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add http_cache_hive_storepubspec.yaml
name: http_cache_hive_store
description: A DB cache store agnostic HTTP client implementation with hive_ce.
homepage: https://github.com/llfbandit/dart_http_cache/tree/master/http_cache_hive_store
version: 5.1.1
resolution: workspace
environment:
sdk: ^3.8.0
dependencies:
http_cache_core: ^1.1.3
# https://pub.dev/packages/hive_ce
hive_ce: ^2.11.0
dev_dependencies:
# https://pub.dev/packages/lints
lints: ^6.1.0
# https://pub.dev/packages/test
test: ^1.24.4
http_cache_store_tester: ^1.0.0
Version history
Dependencies
hive_ce "^2.11.0"
http_cache_core "^1.1.3"