title: Force Cache Refresh for Web Resources
body: <p>I have several web resources that are displayed on forms in Microsoft Dynamics.  The web resources are html files that include JavaScript/CSS files. When I update the JavaScript files, I am seeing that the latest changes are not getting pulled to end user computers on their next use of the form. I believe this is because the previous version of the web resource has been cached on their machine.  </p>
  
  <p>According to <a href="https://stackoverflow.com/questions/32414/how-can-i-force-clients-to-refresh-javascript-files">this</a> SO question, the solution would be to add a version to the script tag.  However, according to the comments on the question, this solution does not work on Chrome and is considered a hack.  I have also read <a href="https://www.crmug.com/communities/community-home/digestviewer/viewthread?MessageKey=c0be8823-a3ff-4b6d-9f1c-ed56de0d32a9&amp;CommunityKey=5ab602e5-51fe-4cc2-b467-d970807c0e8a&amp;tab=digestviewer&amp;UserKey=c62f93e1-0519-4d48-9cec-33a744dea629&amp;sKey=fb33f09c1db343468ef8#bmc0be8823-a3ff-4b6d-9f1c-ed56de0d32a9" rel="nofollow noreferrer">here</a> that Dynamics should automatically handle caching when web resources are updated, but does not do so reliably (which is my experience).</p>
  
  <p>How can I force end user computers to get the latest version of my code on their next use of the form when I push out updates?</p>