Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>There are several scenarios when you might <em>not</em> want to use jQuery from Google's CDN:</p> <ol> <li><p><strong>When you are building an intranet application where the web server is hosted on the same network as the clients.</strong> If you use Google's CDN jQuery, you will be making a call to the internet rather than a webserver on the local network. This increases bandwidth for your organization, and is slower.</p></li> <li><p><strong>When you want to run your application offline</strong>. (Quite linked to the first issue) If you need to work on a development environment (managed for example with <a href="http://bower.io" rel="noreferrer">Bower</a>), you might need to be able to make your application work without any internet connection (ie: in a train :)</p></li> <li><p><strong>When you need to customize it</strong>. For example if you use <a href="http://gruntjs.com" rel="noreferrer">Grunt</a> to build the library in order to use only certain modules or setting the <a href="https://github.com/jquery/jquery#amd-name" rel="noreferrer">AMD name</a></p></li> <li><p><strong>When you are serving pages over SSL that require jQuery.</strong> You should serve the JavaScript over SSL as well as your page to avoid security problems and warnings.</p></li> </ol> <p>Also, <a href="http://weblogs.asp.net/scottgu/archive/2009/09/15/announcing-the-microsoft-ajax-cdn.aspx" rel="noreferrer">Microsoft hosts jQuery</a> on their CDN. That is another choice comparable to using Google's hosted jQuery.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload