ionic-manup icon indicating copy to clipboard operation
ionic-manup copied to clipboard

Cache issue

Open yatingodse opened this issue 8 years ago • 5 comments

I am using this module in my ionic app , but once the first hit to URL happens it caches the data. so next time even if i change the file on the server it does not pick up the latest files. what is the cache duration ? Is there anyway to disable the cache ?

yatingodse avatar Sep 20 '17 13:09 yatingodse

ManUp currently isn't performing any caching. The service falls back to local storage only in the case that the remote file couldn't be fetched (ie you are offline).

Can you have a look at the network requests in Safari/Chrome's remote devtools and verify whether the network request is being made? If it is, what HTTP code is being returned by your sever?

Thanks

MichaelMarner avatar Oct 11 '17 04:10 MichaelMarner

I got the same problem on Android. It seems that it is the cache of default browser and we need a solution to avoid that.

phieudu241 avatar Jun 19 '18 01:06 phieudu241

I think in the code you can add option for clearcache and clear sessioncache to clear cache in inappbrowser. Please update your code with additional option so we can add any option in inappbrowser if we want additional optional setting in inappbrowser for our update Thanks

widimiras avatar Aug 24 '18 05:08 widimiras

in app browser is not used to grab the version information though, only to link out to the app stores. Am I misunderstanding?

MichaelMarner avatar Aug 28 '18 06:08 MichaelMarner

I also faced the same issue then realised manup.json is being downloaded from github and github raw file uses cache (300 seconds). Cross check whether the json file updated properly.

sckumar avatar Aug 25 '20 10:08 sckumar