Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • jQuery CDN

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 525
    Comment on it

    CDN is Content Delivery Network which is fundamentally an extensive conveyed arrangement of servers which sent in various server centers over the web. It helps in reducing load time of a page by offering documents at a higher data transfer capacity from a server that is physically nearer to your guest than your web server may be.

    Goal of CDN:

    1. Serve content to end-users with high availability.
    2. High-Performance

    Reason behind the use of CDN to host jQuery :- 

    1. It reduces the load from your server.

    2. It saves bandwidth.

    3. The most essential advantage is that it will be reserved if the client has gone to any site which is utilizing jQuery framework from any of the CDN.

    How to use a CDN to host jQuery?

    For Microsoft: 

    <head>
      <script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery/jquery-1.6.1.min.js"></script>
    </head>

    For Google: 

    <head>
      <script type="text/javascript"   src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
    </head>

     

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: