Hello. Apologies for what could be a very newbie question!
I am using an external js file. This file needs to be used on multiple sites so my first choice would be to have all the sites grab it from one location ( Are there any downsides to this? Is there any difference in loading between linking to a local file (relative to each site) and a centrally located file? Does users connection speed factor into reading external files?
Hope this is clear. I am obviously quite new to javascript and its uses. Thanks a bunch for your help!
I am using an external js file. This file needs to be used on multiple sites so my first choice would be to have all the sites grab it from one location ( Are there any downsides to this? Is there any difference in loading between linking to a local file (relative to each site) and a centrally located file? Does users connection speed factor into reading external files?
Hope this is clear. I am obviously quite new to javascript and its uses. Thanks a bunch for your help!