Published on: 03 Jun, 2013

Get a better ranking for your site by hosting external libraries like jquery in Google.

Tumblr Digg Google Plus

One of the requirement to get a better ranking in search engine is to have a quick loading of your site. To achieve this, you may want to consider to host any external libraries like jquery. Google does provide a list of open scripts library that you can easily copy the link and use it on your site.

In this tutorial, we will show you, how you can use hosted JQuery link from Google and why you should use it.

To use hosted JQuery url, you just need to include the following javascript source.

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

<script src="http://code.jquery.com/ui/1.9.1/jquery-ui.min.js" type="text/javascript"></script>
If you need to use specific jquery version, you just need to change the script version no. for ex: if you want to use version 1.6.4, just replace the version number 1.7.2 to 1.6.4

Top reasons why you should use hosted JQuery from Google.

  • There are heaps of JQuery versions, to switch over, you just need to change the version number without have to download it and place it on your site
  • Hosted in Google means the JQuery file is going to be served faster.

Comments

There are no comments available.

Write Comment
0 characters entered. Maximum characters allowed are 1000 characters.