Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70432

Empty cache for a loaded Image

$
0
0

@XavV wrote:

Hi ,

I’m facing an unexpected issue.
My app have some users and they can change their Profile Picture (avatar).
I store the image with Firebase in a bucket.
And when I upload the image, I named it by the ID of the user.

Until here NO issue and pretty simple.

BUT, I could notice that IF the name(and so URL) of the picture is the same (so the ID of the user in case of change) the picture IS NOT reload.
So on the app the profile picture doesn’t refresh and the old one is displayed.

I can imagine that there is something like a CACHE ? And if the URL is the same it doesn’t reload the picture.

How can I change this behavior ? Or force the reload of the [<]img[>] ?

Thanks in advance
Xavier

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70432

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>