title: Use JavaScript to force refresh of assets
body: <p>I've been having trouble with browsers caching assets (static files, like css and js) and not updating them when they are updated on web server. I imagine that web server (IIS 6.0 unfortunately) should report last changed date so browser would refresh, but it's not happening.</p>
  
  <p>I'm thinking on force refresh when web app's version is changed. Maybe store version on a cookie or HTML5 storage (works in IE?) and force refresh when JavaScript sees version is outdated.</p>
  
  <p>Is it reliable to use cookie for JavaScript storage? Or should I use other way?</p>
  
  <p>And how can I use JavaScript to force refresh? Browser's F5 seems to do the job, how can I do that from JavaScript?</p>