“Tom M.” [email protected] wrote in message
My question is, there any problem by linking to css and js like
these. I am totally a newbie regarding this? Is this a performance issue
in production. And I have one more concern(Dont know I am right) suppose
if in any case those sights down then will it fail? What is the normal
procedure for doing this? Whether I have to download all the sources to
files will fail to load. Any code that tries to use jquery would fail.
the best case, all remaining code will continue to work, and thus only
small part of the site will be broken. In the worst case, the browser
AJAX’y stuff might not work.
It is pretty easy to test out what would happen if they fail to load
by changing the “/ajax/” part of each url to “/noajax/”, which of course
does not exist and will cause the downloads to fail. Just be sure to
them back when done testing.
As for performance, remote loading from Google may sometimes be faster
other times slower than storing the file on the server. You can get more
consistant perforance by putting the files on your server, but more
consistant might not be better.
Many people err on the side of caution and choose to keep local copies
jquery.min.js, jquery-ui.min.js and jquery-ui.css on their servers. If
doubt, I’d suggest that. It is easy to download the files and place them