I am trying to bypass aggressive IE10 caching by setting Cache-control header to some of my GET requests.
However, it does not seem to have a desired effect. Below you can find the code I use. Names are sanitised a bit.
service.factory('service', ['$resource',
function($resource) {
return $resource(url + '/:year', {year : '@year'},
{'GET': {
headers : {
'cache-control': 'private, max-age=0, no-cache' }
}});
}
]);