Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

How to disable cache on $http.get?

$
0
0

Hi,

I have the same problem in the moment.
I tried to set $http.defaults.cache to false or put it withing the http config like

$http.get('api/path',{
    cache: false
}

But I will always get the same response. I checked with a browser and there I will get the updated content.
Maybe someone can help with the problem.
I only tested on Android.

Cheers,
Martin


Viewing all articles
Browse latest Browse all 228595

Trending Articles



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