Every one love a fast loading site.Think of site which loads in 3 minutes and you would have to wait for it.You will never go to that site again.
In this article i will show you how to remove render blocking javascript in blogger to make it load faster.
What Is Render-Blocking Scripts
Render blocking script is a script from any external source which is called by using a <srcipt src="...../files/style.css"/> tag and the problem is in the URL or storage of the javascript file.Major problems with external scripts are:
- The URL which contains the Javascript file is redirecting to multiple URLs and then reach the Javascript file.
- The URL which contains the Javascript file responds slowly due to server error.
- The URL which contains the Javascript file sometimes does not respond due to down server status.
- Identify Render-Blocking Scripts
Identification
For identification of render blocking java script the common and mostly used tool is PageSpeed Insights.This tool will show you all render blocking jave scripts on your blog.
How To Remove Render Blocking Java Script.
1. Add "Defer" Tag:
Basically Adding Defer Tag to a script means preventing that script to load when your whole page is loading and the scripts with defer tag loads after it.It will improve your blog loading speed.Simply add defer='defer' in script as shown below.<script defer="defer" src="...file/code.js"/>
2. Use "async" Tag:
The code which is asynchronised will be executed when it is available and will not be executed when not available so it minimizes page loading speed. To add async tag to your code simply add async='async' because blogger doesn't accept async alone. Here is a sample:<script async="async" src="...file/code.js"/>
What To Do For Internal Blocking Javacript Or CSS ?
If you have any internal codes which are blocking your pages then remove them because you can't modify them to get work and also avoid such scripts because they are coded by inexperienced bloggers.Tagged With
- How To Eliminate Render-Blocking java Scripts in Blogger,
- Blogger page loading speed
- How to remove blocking scripts blogger
- How to speed up blog
- How to minimize page loading speed in blogger
- Blog Fowl Blogging Tips And Tricks
This comment has been removed by a blog administrator.
ReplyDeleteOsum Sir
DeleteThanks for comment 😊
Deletenyc
ReplyDeletethis tage async="async"
ReplyDeletespeeds up my blod 74 to 80 on PageSpeed Insights. Thanks!!
I am glad you found it helpful 😊
Delete