Search This Blog

Sunday, July 10, 2011

Using Jquery and/or JqueryUI? Get better Performance this way...

Always use JQuery / JQueryUI javascript API from a CDN. This gives better performance for your application specially if it is on Internet. Since some of these large CDN have caches and are available throughout the world acessing these .js files is faster than storing them in your local network. It also saves bandwidth for your local network.

Here are the links:

Microsoft CDN: This page below contains links for all Jquery versions on MS CDN.

http://www.asp.net/ajaxlibrary/cdn.ashx


Here is for Google:

 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" type="text/javascript"></script>
 <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/jquery-ui.min.js" type="text/javascript"></script>

No comments: