title: load javascript source code direct from .js or through .php
body: <p>What is the difference between loading javascript code direct from .js file or through .php like the following example :</p>
  
  <pre><code>&lt;script type="text/javascript" src="myscript.php?id=1"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>The $_GET['id'] will tell the php to load script id = 1 (script1.js)</p>
  
  <p>OR</p>
  
  <pre><code>&lt;script type="text/javascript" src="script1.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>what is the fastest / efficient / safe way between those two method above</p>
  
  <p>Thanks in advance.</p>