As I develop a Webapp utilizing Angular.js with a RESTful API, I usually work in my preferred browser, Chrome. However, after running tests in Edge, I stumbled upon some intriguing discoveries.
I observed that the RESTful server call was returning seemingly incorrect data when accessed through the Edge browser. Upon closer examination, I realized that Edge was retrieving results from its cache instead of making a fresh call for the most up-to-date and accurate data. What surprised me even more was that I could delete entire functions from my Angular app file without any complaints from Edge!
The specific Angular function in question:
$http.get(frontbaseurl+'/users/auth_user.json').then(function(response){})
I've come across suggestions on platforms like SO about how to prevent Edge from caching results (such as adding a timestamp to the URL), but these solutions seemed somewhat hacky and ineffective in my case.
I find it hard to believe what I've uncovered. The logical side of me wants to attribute this to yet another issue from Microsoft, but I cannot overlook the fact that some users might be forced to rely on Edge and could encounter errors while using my web app.
Has anyone else faced similar challenges like this before?