matthew-andrews / isomorphic-fetch

Isomorphic WHATWG Fetch API, for Node & Browserify
MIT License
6.95k stars 289 forks source link

IE11 caching responses #88

Closed ZeroCR closed 8 years ago

ZeroCR commented 8 years ago

Is there a way to avoid this?

I tried with these but it did not work: fetch(xxxxxx, {cache: false}) fetch(xxxxxx, {cache: 'no-cache'}) fetch(xxxxxx, {headers: {'Cache-Control': 'no-cache'}})

To reproduce this you need:

Regards,

pkumar84 commented 8 years ago

@ZeroCR - Did you find the solution for that? if so, may i know how ?

ZeroCR commented 8 years ago

@pkumar84 well it looks like this is the default behavior of IE11 beyond this library, I got the same issue with jquery,

So now I am adding a random number to each request =P.