title: angular2 disable browser caching
body: <p>I am using angular2 for web development, and Jenkins for continuous integration, when i release code at the end of every sprint, it gets deployed on CI Server.</p>
  
  <p>But, when users load the UI, they do not get the new UI changes by default, they have to clear the cache ( I do not want users to clear the cache or disable there cache just for this UI)</p>
  
  <p>How can I handle programatically for the browser to not cache old files and reload the new changes by default (atleast in development)</p>
  
  <p>Note:
  I presently set:</p>
  
  <pre><code>import { enableProdMode } from '@angular/core';
  enableProdMode();
  </code></pre>
  
  <p>None of the documentation states this to be the reason and removing it does not help either.</p>