angularjs - IE only anglure http request cache / MVC issue -
i have code loads list mvc controller.
i load data with
$scope.loaddata = function () { $scope.promise = myhttp = $http.get("forms"); myhttp.success(function (response) { $scope.rows = response;
this works fine, data loads , can see data on html page.
but, if reload code, eg run $scope.loaddata again, fails in ie.
works in chrome, ff fails in ie , spartan (tested on non windows 10 same issue)
the headers like
cache-control: private, s-maxage=0
the mvc controller has authorise attribute hence s-maxage=0, prevents proxy caching.
i have tried
$scope.promise = myhttp = $http.get("forms");
when fiddle, dont see request going server code fired.
if nav new page , nav reload fresh data expect. when reload done $http
thanks
edit
post works, eg
$scope.promise = myhttp = $http.post("forms");
Comments
Post a Comment