title: how to clear browser cache in reactjs
body: <p>every time I make changes to my website and try to update those changes to the running website, I've to hard refresh browser. is there any way to do it by code</p>
  
  <p>i already try to search it but most of saying it can not be done.
  referance post : <a href="https://stackoverflow.com/questions/8155064/how-to-programmatically-empty-browser-cache">How to programmatically empty browser cache?</a></p>
  
  <p>**Response headers :</p>
  
  <pre><code>HTTP/1.1 200 OK
  Server: nginx/1.12.2
  Date: Fri, 06 Jul 2018 10:01:23 GMT
  Content-Type: text/html
  Transfer-Encoding: chunked
  Connection: keep-alive
  Vary: Accept-Encoding
  Content-Encoding: gzip
  </code></pre>
  
  <p>**Request headers :</p>
  
  <pre><code>GET / HTTP/1.1
  Host: --example--.com
  Connection: keep-alive
  Upgrade-Insecure-Requests: 1
  User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36
  Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
  Accept-Encoding: gzip, deflate
  Accept-Language: en-GB,en-US;q=0.9,en;q=0.8,hi;q=0.7
  Cookie: fingerPrint=e4a9037b8f674722f414b0b59d8d663c
  </code></pre>