cached_builder 1.0.1
cached_builder: ^1.0.1 copied to clipboard
A smart FutureBuilder replacement with built-in caching, retry, and stale-while-revalidate strategies. Integrated with connectivity_plus_wrapper for smart network awareness.
1.0.0 #
Smart Network Integration #
- Auto-retry on reconnection: Failed requests automatically retry when network is restored
- Offline-first caching: Aggressive caching when offline, smart revalidation when online
- Connection-aware UI: Show different UI based on network status and data source
Advanced Caching Strategies #
- Stale-while-revalidate: Show cached data immediately, fetch fresh in background
- Connection-based expiry: Different cache durations for online vs offline
- Prefetching: Automatically refresh data when connection quality improves
1.0.1 #
- **Fixed some bugs