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