offline_first_cache 0.0.10 copy "offline_first_cache: ^0.0.10" to clipboard
offline_first_cache: ^0.0.10 copied to clipboard

An offline-first HTTP client and caching engine for Flutter/Dart with request queuing, GET caching, dead-letter handling, and a Queue Inspector UI.

0.0.10 #

  • Package Metadata: Refined package description and pubspec metadata formatting.
  • Dependency Constraints: Updated Dio constraint lower bound (^5.4.0) and added compatibility support for flutter_secure_storage v11.

0.0.9 #

  • Structured Logging: Replaced console print calls in core interceptors with configurable OfflineLogger calls.
  • Dependency Optimization: Cleaned up unused transitive dependencies and updated package environment constraints.
  • Documentation: Fixed installation instructions and added package status badges in README.

0.0.8 #

  • Infinite Loop Fix (Stale-While-Revalidate): Fixed a critical bug where background revalidation requests re-entered the interceptor, causing an infinite GET loop on stale cache entries. Background revalidations are now flagged with _background_revalidate to bypass the cache-hit branch.
  • Concurrent Revalidation Deduplication: Background revalidations for the same URL are now deduplicated — multiple rapid GETs against a stale cache entry no longer fire redundant parallel network requests.
5
likes
160
points
182
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

An offline-first HTTP client and caching engine for Flutter/Dart with request queuing, GET caching, dead-letter handling, and a Queue Inspector UI.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

connectivity_plus, dio, flutter, flutter_secure_storage, hive, hive_flutter, uuid

More

Packages that depend on offline_first_cache