Avatar
07-04-2001, 05:38 AM
ok, here is my question.
Let's say I set up the path to a javafunction this way:
<script language=javascript src="function.js"></script>
and lets say the file is rather large 50kb+ and that I call a small function in end of the file this way:
<script language=JavaScript>function()</script>
So the question is: Does the surfer download the whole function.js ( 50 kb ) which will increase loading time and bw?? or just the small function?
Probaly a stupid question but I will be waiting for your answers http://bbs.adultwebmasterinfo.com/ubb/smile.gif
Let's say I set up the path to a javafunction this way:
<script language=javascript src="function.js"></script>
and lets say the file is rather large 50kb+ and that I call a small function in end of the file this way:
<script language=JavaScript>function()</script>
So the question is: Does the surfer download the whole function.js ( 50 kb ) which will increase loading time and bw?? or just the small function?
Probaly a stupid question but I will be waiting for your answers http://bbs.adultwebmasterinfo.com/ubb/smile.gif