fifty_cache 0.1.0
fifty_cache: ^0.1.0 copied to clipboard
TTL-based HTTP response caching with pluggable stores and policies. Part of the Fifty Flutter Kit.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.1.0 - 2025-12-31 #
Added #
- Initial release extracted from fifty_arch infrastructure
- Core components:
CacheManager- Orchestrates cache reads/writes with policy and key strategyCacheStore- Storage abstraction contract for pluggable backendsCachePolicy- Read/write decision contract with TTL selectionCacheKeyStrategy- Deterministic key building contract
- Built-in implementations:
MemoryCacheStore- In-memory store for testing and lightweight cachingGetStorageCacheStore- Persistent store using get_storage packageSimpleTimeToLiveCachePolicy- Fixed TTL caching for GET requests with 2xx responsesDefaultCacheKeyStrategy- URL + sorted query + header fingerprint keys
- Comprehensive test suite
- Full API documentation with examples