fast jquery
Getting your website to load faster is a requirement for SEO and that brings it down to having your jquery ajax code loading faster for better results. This time around, we are going to tackle the most effective way to make your google ajax jquery code load at lightning speed. This involves using a javascript code to make the code load with bits and remove the functionalities that are not used at load time. Let's see on the way on how to speed Google Ajax Jquery Code below.

Steps On How To Speed Up Google Ajax Jquery Code.

Follow the below steps on how to find the Google jquery code in your WordPress and blogger template and hot to implement the speeding up javascript code.
1. Whether you are using the Blogger or WordPress website, you have to visit your code view part of your platform. In Blogger.com you will always find the code by going to the theme template part of the platform and view HTML code and then press on control F to bring the find dialogue box.
For WordPress users, it determines on the theme template that you are using since some will give have a specific place to place to display code of the theme template. You can feel free to use plugins that can help in this.
Find the below line of code in your template code.
https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js OR https://ajax.googleapis.com/ajax/libs/jquery/1.13.0/jquery.min.js .
Note :
The version of the codes may be different depending on the functionalities needed in coding the theme jquery. For this reason, you may be needed to the only search for the front part of the link as shown below.
https://ajax.googleapis.com/ajax/libs/jquery
With finding the code in the above way, you can be sure to find it in every blogger template and some WordPress websites. The speeding up script works with all version of the jquery script and hence you only need to do the below.

2. After finding the code with the above steps then CUT the code and PASTE with the bellow script.
 <script id='script-batch' type='text/javascript'>
        (function(d){
            var js = d.createElement(&#39;script&#39;); js.async = true; js.defer = true;
            js.src = &quot;https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js&quot;;
            d.getElementsByTagName(&#39;head&#39;)[0].appendChild(js);
        }(document));
 </script>
The above is code has the 1.11.0 version of the jquery ajax code version format and should be the same as the previous version and that needs to be carefully looked on to avoid using a different query version of the speeding up script.

3. Now visit the Google speed insights and check the current speed of your template to identify the change. Click on the below link to visit the page.

Post a Comment

Previous Post Next Post