flutter_memory_cache 0.0.1 flutter_memory_cache: ^0.0.1 copied to clipboard
flutter memory cache in Map.
flutter_memory_cache #
flutter memory cache in Map with ttl support.
Notice #
- It's not for the logical cache because eviction will automatically remove cache.
- It use TTL(Time To Live) to make sure data can be refresh.
- Don't have LRU strategy, If you seeking LRU then you need a different cache lib.
- NOT fully test yet, Please do NOT use it in production.
Getting Started #
Add dependency
dependencies:
flutter_memory_cache: 0.0.1 #latest version
then