0

Is it enough to set cache:false in my $http or I should add other configurations too?

var self = this;
self.get = function () {
    return $http({
        method: 'GET',
        cache: false,
        url: '.......'
    });
}
Hamid Pourjam
  • 18,954
  • 8
  • 53
  • 67
Elnaz
  • 2,602
  • 2
  • 21
  • 35
  • No, caching response data in browsers. I have some problems in my project functionality, since the user may see the cached data in his page, not the real data. – Elnaz Apr 26 '16 at 07:07
  • You should not include tags in question title. [Read this](http://meta.stackexchange.com/questions/19190/should-questions-include-tags-in-their-titles) – Hamid Pourjam Apr 26 '16 at 07:18
  • 1
    Duplicate of http://stackoverflow.com/questions/49547/making-sure-a-web-page-is-not-cached-across-all-browsers?rq=1 – diiN__________ Apr 26 '16 at 07:20
  • Related: [Angular IE Caching issue for $http](http://stackoverflow.com/questions/16098430/angular-ie-caching-issue-for-http) – Hamid Pourjam Apr 26 '16 at 07:22

0 Answers0