title: Clear the cache in JavaScript
body: <p>How do I clear a browsers cache with JavaScript?</p>
  
  <p>We deployed the latest JavaScript code but we are unable to get the latest JavaScript code.</p>
  
  <p>Editorial Note: This question is semi-duplicated in the following places, and the answer in the first of the following questions is probably the best.  This accepted answer is no longer the ideal solution.</p>
  
  <p><a href="https://stackoverflow.com/questions/118884/how-to-force-browser-to-reload-cached-css-js-files">How to force browser to reload cached CSS/JS files?</a></p>
  
  <p><a href="https://stackoverflow.com/questions/32414/how-can-i-force-clients-to-refresh-javascript-files">How can I force clients to refresh JavaScript files?</a> </p>
  
  <p><a href="https://stackoverflow.com/questions/12079631/dynamically-reload-local-javascript-source-json-data">Dynamically reload local Javascript source / json data</a> </p>