fifty_cache 0.1.0 copy "fifty_cache: ^0.1.0" to clipboard
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 strategy
    • CacheStore - Storage abstraction contract for pluggable backends
    • CachePolicy - Read/write decision contract with TTL selection
    • CacheKeyStrategy - Deterministic key building contract
  • Built-in implementations:
    • MemoryCacheStore - In-memory store for testing and lightweight caching
    • GetStorageCacheStore - Persistent store using get_storage package
    • SimpleTimeToLiveCachePolicy - Fixed TTL caching for GET requests with 2xx responses
    • DefaultCacheKeyStrategy - URL + sorted query + header fingerprint keys
  • Comprehensive test suite
  • Full API documentation with examples
0
likes
150
points
101
downloads

Publisher

verified publisherfifty.dev

Weekly Downloads

TTL-based HTTP response caching with pluggable stores and policies. Part of the Fifty Flutter Kit.

Homepage
Repository (GitHub)
View/report issues

Topics

#dart #cache #ttl #http

Documentation

API reference

License

MIT (license)

Dependencies

get_storage

More

Packages that depend on fifty_cache