I am working on an angular1 app and when I am trying to change image url to update an image IE11 is not updating the new changes but giving me cached data.
All the ajax calls that are sent from the IE are cached by Angular and I get a 304 response for all the subsequent calls.
Angular application works fine on other browsers including ie edge.
I went through the http caching fundamentals on below link:-
https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/http-caching
Also i have referred the two links out of which the first one solved my problem :-
- https://stackoverflow.com/questions/16098430/angular-ie-caching-issue-for-http
- https://stackoverflow.com/questions/16971831/better-way-to-prevent-ie-cache-in-angularjs
I wanted to understand why IE & angular are causing this issue ? And in general why IE11 only has this issue ? People have proposed solution but none has explained what is the root cause of the issue.
Thanks in advance.