capacitor-image-cache icon indicating copy to clipboard operation
capacitor-image-cache copied to clipboard

image dont cache

Open diadal opened this issue 4 years ago • 8 comments

const { value } = await cache.get({src:"someSrc"}) return same image url

diadal avatar Mar 04 '20 13:03 diadal

If you are using web implementation, it's just return the source.

rawthriver avatar Mar 08 '20 14:03 rawthriver

const { value } = await cache.get({src:"https://example.com/image.png"}) it return https://example.com/image.png

diadal avatar Mar 08 '20 14:03 diadal

It is true, if you are running in debug/browser. Try it on device.

rawthriver avatar Mar 08 '20 14:03 rawthriver

am on device iPhone and Android App

diadal avatar Mar 08 '20 14:03 diadal

Hmm, then it might be a bug...

rawthriver avatar Mar 08 '20 14:03 rawthriver

any idea on how to reproduce this I need this on my app

diadal avatar Mar 08 '20 14:03 diadal

Maybe later. I'm thinking to use it in my app. But I also need more generic cache mechanism.

rawthriver avatar Mar 08 '20 15:03 rawthriver

@triniwiz were you able to fix this yet ??

diadal avatar Apr 07 '20 11:04 diadal