ionic-cache-src icon indicating copy to clipboard operation
ionic-cache-src copied to clipboard

Dynamic source breaks when changed during loading

Open FredeHo opened this issue 8 years ago • 3 comments

When using a dynamic source image which changes fast and the images aren't cached yet(!), occasionally the wrong image gets cached for the wrong url. I tried to find out how i can solve this myself by looking through the code but didn't manage to find a solution. Can anybode help me with this issue?

FredeHo avatar Apr 04 '17 15:04 FredeHo

I have the same problem, do you find solution?

YaroslavG avatar Jul 17 '17 13:07 YaroslavG

Sadly no. It seems that BenBBear has stopped working on this repo, so I guess we need to figure it out ourselves. Just to let you know: Since i moved on to Ionic 2+ I decided to use https://github.com/zyra/ionic-image-loader which works nicely atm. But wrong/corrupted images seem to be a common problem with caching. In every repo I've tried so far (including ionic-image-loader) these issues occur at some point.

But I guess wrong images are easier to fix than corrupted ones. Haven't had the time to look into it myself deep enough tho.

Greets

FredeHo avatar Jul 17 '17 15:07 FredeHo

Thank for your answer. No problem. I found another solution

YaroslavG avatar Jul 17 '17 17:07 YaroslavG