offline_first_cache 0.0.8
offline_first_cache: ^0.0.8 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.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_revalidateto 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.