I have an angular application that makes HTTP GET calls to the server. It works great on Chrome and Firefox. However, I realized that IE caches the GET response, and after doing the POST, I need to call the same GET request and get a new updated response, but IE caches it. I want to disable caching for IE only. I tried to use
'If-None-Match': '*'
the request header for my GET calls, but then this disables caching for everything. Is there a way to do this conditionally only for IE? Or is there another way to disable it?
noah source
share