syncache 0.1.1 copy "syncache: ^0.1.1" to clipboard
syncache: ^0.1.1 copied to clipboard

An offline-first cache and sync engine for Dart with optimistic mutations, reactive streams, and pluggable storage.

0.1.1 #

  • Add Policy.cacheAndRefresh - returns cached data immediately and always refreshes in background (unlike staleWhileRefresh which only refreshes when expired)

0.1.0 #

  • Initial release
  • Core caching with five policies: offlineFirst, cacheOnly, networkOnly, refresh, staleWhileRefresh
  • Reactive streams via watch() and watchWithMeta()
  • Optimistic mutations with automatic background sync
  • Tag-based cache invalidation
  • Pattern-based cache invalidation (glob support)
  • Request deduplication for concurrent fetches
  • Retry with exponential backoff
  • Cancellation token support
  • Scoped caches with key prefixing
  • Parallel and dependency-graph prefetching
  • Observer pattern for logging and analytics
  • MemoryStore and SharedMemoryStore implementations
1
likes
150
points
175
downloads

Documentation

API reference

Publisher

verified publisherthedevayo.com

Weekly Downloads

An offline-first cache and sync engine for Dart with optimistic mutations, reactive streams, and pluggable storage.

Repository (GitHub)
View/report issues

Topics

#cache #offline-first #sync #state-management

License

MIT (license)

More

Packages that depend on syncache