title: React SPA force load new JS build (including mobile)
body: <p>I'm currently experiencing every time I build script for production , the browser won't load any new JS.</p>
  
  <p>I'm using <code>create-react-app</code>. The only way to make it work is clear cache manually. </p>
  
  <p>I've tried to put <code>window.location.reload(true)</code> but it still won't fetch latest JS.</p>
  
  <p>and then I try to put this on my index.html</p>
  
  <pre><code>&lt;meta http-equiv="cache-control" content="max-age=0" /&gt;
  &lt;meta http-equiv="cache-control" content="no-cache" /&gt;
  &lt;meta http-equiv="expires" content="0" /&gt;
  &lt;meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" /&gt;
  &lt;meta http-equiv="pragma" content="no-cache" /&gt;
  </code></pre>
  
  <p>none of them is working.</p>
  
  <p>The browser won't load any new JS especially for mobile (Chrome Android, Firefox). </p>
  
  <p>I'm using Cloudflare and I already try to <code>purge cache</code>.</p>
  
  <p>Any other solution to force the browser load new script?</p>
  
  <p>Thanks</p>