title: HTML localStorage.clear()
body: <p>How do i get this to function on page load? 
  got it working attached to a button, that eliminates cache when logging out, but if logged in on /sub + entering main the cache is still on main.</p>
  
  <p>used this on button : </p>
  
  <pre><code>onClick="LogOut(); localStorage.clear(), window.location.reload()"
  </code></pre>
  
  <p>Eventually is it possible to define in .js (that is locked to all main/sub) what .html file localStorage.clear() should apply to?</p>
  
  <p>Basicly i want to disable all cache on main. and got only access to .html and .js</p>
  
  <p>also. in chrome://cache : <code>"timestamp=1501542046068&amp;lever1=true&amp;"</code> is <code>"lever1"</code> the cache key? eventually possible just disable that on both pages in .js or html?</p>