Add Image provider which takes an id, and an async function to fetch url from that id as input.
Contextualize the feature
Images stored in cloud storages (Firebase Storage, AWS S3, etc.) have async functions to get url for files stored. I need a way to check cache before getting the url, via an id (path of image on cloud storage), such that if cache has an entry for the specified id, it will load image from cache, otherwise it will fetch url for that id, and then the same steps as it does.
🚀 Feature Requests
Add Image provider which takes an id, and an async function to fetch url from that id as input.
Contextualize the feature
Images stored in cloud storages (Firebase Storage, AWS S3, etc.) have async functions to get url for files stored. I need a way to check cache before getting the url, via an id (path of image on cloud storage), such that if cache has an entry for the specified id, it will load image from cache, otherwise it will fetch url for that id, and then the same steps as it does.
Describe the feature
The fetch url function should be called after checking cache and image not present in cache.
Platforms affected (mark all that apply)