title: Is window.document cleaned at page refresh ?
body: <p>I was using the <code>window</code> object to save some values to have them accessible in other functions and a colleague of mine recommended me to save my data on <code>window.document</code> the reason being that the window.document is cleaned at every page load. </p>
  
  <p>I was wondering if that is right because it's obvious that the DOM is reloaded but the other data like my modules i doubt it.  </p>