Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need a reliable Cache Refreshing mechanism. #16

Open
kaumudpa opened this issue Jun 29, 2021 · 1 comment
Open

Need a reliable Cache Refreshing mechanism. #16

kaumudpa opened this issue Jun 29, 2021 · 1 comment
Labels
enhancement New feature or request good to contribute

Comments

@kaumudpa
Copy link
Contributor

kaumudpa commented Jun 29, 2021

Hi @ChrisChV This is by far one of the most efficient plugins to manage Firebase/Google storage images.

But we need a better and reliable cache Refreshing mechanism.

Consider the scenario : I have an image profile_pic.png which is cached on my app. Now if i replace this image directly in firebase/google storage by uploading a new version of this image from the Firebase/google Web UI - it doesn't rebuild the image cache on the app (i.e. - My App will still have the old version of the image).

To address this https://pub.dev/packages/firebase_image uses a very simple, efficient and cost effective mechanism. Basically to store metadata of the image and then comparing the metadata of the image as a Class B operation if enabled.

I strongly suggest we implement such mechanism as an optional parameter.

@ChrisChV
Copy link
Member

ChrisChV commented Jul 8, 2021

Hi, @kaumudpa is a good idea. I will check it

@ChrisChV ChrisChV added the enhancement New feature or request label Jul 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good to contribute
Projects
None yet
Development

No branches or pull requests

2 participants