title: global variables in JS vs local storage vs values in DOM, which one will be more efficient?
body: <p>What is difference between <strong>Global variables</strong> in javascript and values in page doc or values in local storage ? </p>
  
  <p>Which one will be better option if I need some variables to be sent from Server side language like php to Front end technologies like Angular/jquery like files, considering a <strong>large amount</strong> of variables?</p>
  
  <p>What would be impact on <strong>page performance</strong> as well ?</p>