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

An offline-first HTTP client for Flutter/Dart with request queuing, GET caching (stale-while-revalidate, tag-based invalidation), and a built-in Queue Inspector UI.

0.0.7 #

  • 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
0
points
182
downloads

Publisher

unverified uploader

Weekly Downloads

An offline-first HTTP client for Flutter/Dart with request queuing, GET caching (stale-while-revalidate, tag-based invalidation), and a built-in Queue Inspector UI.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

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

More

Packages that depend on offline_first_cache