Caching futures in Flutter/Dart to improve performance and cost using AsyncCache
There might be cases where some calculation might be happening repeatedly but having stale data is also fine. The example could be reading a file or network response or some cpu intensive calculation.
Dart team have introduced AsyncCache class for t...
blog.litedevs.com2 min read