How To Reduce JavaScript Execution Time In Google Page Speed

How To Reduce JavaScript Execution Time In Google Page Speed

Hello Guys and welcome to Wolv Themes Our Tutorial today is about How To Reduce JavaScript Execution Time In Google Page Speed. 

What is Google Page Speed :-

Google Page Speed is a tool that helps you test your site or page speed, and also detect the problems in your website such as breadcrumbs, unused javascript, and many more...

Let's start

How To Reduce JavaScript Execution Time In Google Page Speed :-

Step 1 :- Go To Google Page Speed Insights and test now.
Step 2 :- Go to Blogger’s Dashboard and click Theme.
Step 3 :- Click the arrow down icon next to the 'customize' button.
Step 4 :- Click Edit Html
Step 4 :- Click on any word then Press CTRL + F and type in the search form "jquery", I you already don't have one then add my code just above the </head> or in some sites &lt;!--<head/>--&gt;&lt;/head&gt;.
Step 5 :- Replace It With The Following provided Code.
<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>

Step 6 :- Go To Google Page Speed Insights and test again you will see the difference.

Rate this article

Frontend Developer and UX Designer

Post a Comment