-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
I would expect that the default behavior of IE11 (that means without touching cache settings) is the same as that of other browsers when I use fetch. It is not.
Consider my use case :
Up until yesterday, the sample code of LuciadRIA still made use of dojo/request for XHR requests. When replacing dojo/request with a fetch based implementation, I've looked into this polyfill for dealing with IE11.
After replacing dojo/request with fetch, the server correctly updates the data in all browsers whenever I send a PUT request to my rest store. But when I refresh my browser, all browsers show the updated data... except IE11. IE11 still shows the original data loaded, unless I first cleared my cache. It took me many hours of frustrated head scratching to figure out why IE11 didn't behave the same as other browsers and realize that there was a caching issue.
Cache busting does solve this problem, but it feels like a hack... and I feel like it kind of defeats the purpose of using a polyfill when I have to use hacks like this to make every browser have the same default behavior. This, especially considering I did not need to use this sort of black magic when using dojo/request.