title: React Native fetch API cannot disable caching
body: <p>I am building android app using react native expo integrated with redux. The API is called using fetch method, but always the cached result is displayed. The server did not receive the request second time. I tried disabling cache with the following code.</p>
  
  <pre><code>export const mymails = (token) =&gt; {
      return fetch(
          API_URL+'?random_number='+ new Date().getTime(), {
          method: 'GET',
          headers: getHeaders(token)
      })  
      .then(response =&gt; response.json());
  };
  
  getHeaders = (token) =&gt; {
      return {
          'Accept': 'application/json',
          'Content-Type': 'application/json',
          'Authorization': 'Token token='+token,
          'Cache-Control': 'no-cache, no-store, must-revalidate',
          'Pragma': 'no-cache',
          'Expires': 0
      };
  }
  </code></pre>
  
  <p>When I call the API through Postman client I see different result(not cached). I tried adding random number as parameter and setting cache control headers, but still returning cached result. Is there is anything else I could try.</p>
  
  <p>Thanks</p>