title: Purge and update html5 application cache through javascript
body: <p>I arrive to this problem quite a lot of times, where some of the users have a corrupt application cache (HTML 5). </p>
  
  <p>I do update the manifest file every time there is a new release still some times some users get a corrupt application cache.</p>
  
  <p>I such a case I want to fully clear what is there in their application cache and load all the fresh content from the server. </p>
  
  <p>Is there a way to that using Javascript?</p>