Why do you need to eliminate render blocking CSS, JS?

29 Nov 2017
No Comments

It’s painful when you see your website loading slow, though you have optimized your front-end and the server-side components using the relevant tools and practices. I know how that feels.

What could possibly be the reason, then?

Have you ever given any thought about fixing the render-blocking? Well, this blog will help you with certain useful tips to fix it.

Before jumping in, you need to understand it. Don’t you?.

In easy terms, (Eliminate–remove, Render–layout, design-display webpage, Blocking–stopping) i.e., Render blocking removal.

Every time the browser is loading your web page, the CSS and JS resources also wants to be loaded at first priority before the HTML does. It is default that, CSS is considered as render-blocking resource. Nothing will load until the CSS and JS file loads or parsed. Do you wish to see your page like that?. Heck NO.

Every single CSS and JS files will affect the load time of your page in a huge amount.

But, have you noticed the results in deep, when you put your website’s URL in the pagespeed insights?.

You will find a result section showing the score out of 100 and the exact following statements: (i) Possible Optimizations and (ii) Optimizations Found.

Also, your WordPress websites will be having themes and plugin that adds js and css files to the front-end of your websites. These scripts slows the site load time and also render block of the web page.


Here, Now fix the render blocking CSS

The bigger and the larger CSS files will delay the page load much effectively.

But, at the same time, would you like to see a content that hasn’t been styled? Heck NO.

So, you need some CSS files on the page to display an elegant look Above The Fold (ATF), keeping in mind that, this CSS shouldn’t impede the load time of the page.

Know what ATF is?. In a page, when loaded, the content which you are able to see without scrolling is said as Above The Fold (ATF). The content when you scroll and see, is said to be below the fold.

To discover the exact files that are presently blocking the rendering of your webpage, use the tool Page Speed insight developed by Google. This tool will list you the entire files that are blocking a specific page.

Are you aware, what your browser does at the time when your webpage is rendered?

Firstly, the HTML is analyzed and constructs the DOM – Document Object Model. Secondly, the CSS is analyzed and constructs the CSSOM – CSS Object Model. Both DOM and CSSOM are structural representations of HTML and CSS for the better understanding of the browser.

Then comes the render-tree construction, which is nothing but uniting DOM and CSSOM, that suggests and explains the browser about the part to be rendered and how it needs to be appeared and then lastly comes your website display.

Info: when you make an attempt to render a web page without fixing the render-blocking CSS files, the browser downloads all the CSS resources and displays it.

The Critical Rendering Path is nothing but displaying the files in a line, according to the priority it allocates. This happens before the actual display of the webpage by the browser.

Optimizing critical rendering path is very much recommended for the fastest delivery of the first render.

Every single file eliminated makes an impact in the web page speed.

When you consider eliminating render-blocking CSS, you might think as well think of certain parameters relating to the usage of lesser CSS files, (i) By Combining CSS files, (ii) By Inlining the CSS files

(i) By Combining CSS files

Before getting into this, you need to label your CSS, because once you do the labeling efficiently, you are helping to choose only the chosen CSS files and displays without any delay in rendering.

Info: There may be many little CSS files (due to the plugins and widgets), but there will be a main CSS file which is big. If you are into Adsense, then this blog will be a great deal for you.

How do I combine the CSS files?

All you got to do is a simple copy and a paste work.

If you have many CSS files being called, converge it into one CSS file by just copy pasting it in a new CSS file.Let’s assume that you have four CSS files,





You have to open the “CSS2” and copy all the contents in it and paste it into “CSS1”. In a similar fashion do the same for the rest of the CSS files. You will have one main CSS file which is “CSS1” having all the content of the rest of the three CSS files.

After that, make sure you remove the call for “CSS2”, “CSS3”, “CSS4” from your HTML. Now, you will have only one CSS file instead of four. Think the fast your webpage loads when four files got compressed into one.

Statement given by Ilya Grigorik,

“CSS is a render blocking resource. Get it to the client as soon and as quickly as possible to optimize the time to first render”.

(ii) By Inlining the CSS files

Inline itself means inside-lining.

Put your CSS files in an HTML file.

When you do this, you are helping the browser by reducing the number of files to be downloaded before your webpage is displayed. Also, your browser downloads only the HTML file.

How do I Inline CSS files?

You need to do two things:

Copy the entire contents of the external CSS files and paste it in the Head section of your HTML file between the style tags. Make sure you use the right HTML style tags.

Lesser render blocking and quicker loading of your page takes place in this case, as you are not requesting your browser for an individual external file to load to view your CSS file and it saves many trips from the browser to the server.


Render Blocking JavaScript (JS) – Eliminate it

This applies when your HTML experiences a render block JavaScript (JS) file in the above the fold part when detected by the pagespeed insight.

Again, refer to the discussions we had in the render blocking CSS as well.

The browser has to build the DOM by analyzing the HTML files every time before it renders a webpage. In doing this, if it comes across any scripts, it stops and checks it and then proceeds with analyzing the HTML. This time duration relates directly to the page drag. You need to fix this.

You can identify your page loading issues by using PageSpeedInsight related to render block JS files.

How do I remove Render blocking JS?

There are three ways.

(i) By the use of Inline JS

(ii) Making JS Asynchronous

(iii) Defer loading of JS

One of the largely used, heavier javascript file, in maximum webpages is, jQuery. You want a fade in and out for an image, then jQuery is a familiar JS file to use.

If you are using jQuery before the initial render and below the fold, then there won’t be any necessity for it to load unless there is a cause.

But if you are using it above the fold, then it goes without saying that you aren’t going by the rules of the regulations and guidelines of what the pagespeed says. In this case, you will have to look in for the HTML file and change where the jQuery’s call is made.

(i) By the use of Inline JS

You should have a lean JS file. Render blocking scripts pushes the browser to halt until they are being downloaded and many round trips for rendering the same.

In the case you having a lean JS file, then you can inline the contents of the JS file in the HTML file and prevent the delay in the page display and quickens the initial render.

By doing this, you need to take care of the HTML file size too.

(ii) Making JS Asynchronous

Why do this? You might have known that, the JS by default stops building DOM and ends up by delaying the time duration for the initial render.

Try using the below script in your HTML,

<script async src=”my.js”>

The following takes place when you use it,

The Asynchronoused scripts are downloaded by the browser

During this process, the browser does not stop for analyzing and or any building of the DOM in the middle. Also, any other scripts needed by the site is not prevented by this process. Until this script is done downloading, the browser not rests for any other actions.

(iii) Defer loading of JS

In simple terms, you can separate the scripts which does not have any impact on your above your fold content, for the initial render and they may be deferred until after the first render or all the important part of the webpage is loaded. This way, resource contention can be reduced and for the performance enhancement.


Wrapping up

Always have a concern about the WordPress themes and plugins you are installing, as they use CSS and JS which might be a challenge when it comes to render blocking removal.

Remember, if your webpage calls anything, then it seems to drag your load time.

jQuery forms a pretty good example in this case.

Based on the discussions, reducing the files and inlining them makes the file shrink and does the same work in a faster way which is what is needed for rendering.

Almost all the websites are facing the problem of rendering block. But the question is how to remove them. By following all the useful tips given above, you can easily boost up your load speed of your webpage, though you have done front-end optimization through ideal tools like pagespeed insights and SpeedBoost.


So, I believe you will find this blog useful.

I have suggested you from my experience and knowledge. In a similar fashion you might have come across several experiences which is worth.

Share your ideas and the tips you feel which we missed in the comment section.

Share this post :


How slow loading websites sucks your money on Google Adwords?

01 Nov 2017
No Comments

Quicker sites make a quicker conversion and quicker money.

Think you are investing in your ads, there are only two possibilities, you might either end in gaining money or losing it. So, what metrics your profit rate depends upon?.

Revenue is mainly determined by Quality Scores, PPC ads, Adwords, Landing page, Page Speed and other metrics.

There are several ways to keep your website in the top of the Google rank system and we shall be discussing that here.

Know why you are losing money (no payback) even after paying Google to display your website at the top?.

Once paid, everyone thinks their work is done. Do you really think so?. No. Your job has just started.

If you are looking for money yield (payback), without following some parameters of enhancement, keyword research and all the other relevant factors, then you will end up getting nothing and every investment you just made is a total waste.

How about your website getting popular among the eCommerce sites overnight?. You like that?.

Well, that’s totally possible depending upon how you are closely monitoring your website’s efficiency to load and user experience and your Adwords and many other technical factors, ultimately serving your website presentable to the visitors and make sure they rejoice.

Certain mantras for you to make this come true:

Delight and fascinating a random visitor – create an enticing headline, PPC ad, Adwords;

Making this random person stay for quite a long period on your website – a perfect landing page will do;

A visitor might turn into your customer – enhance your webpage speed tremendously giving a tough competition to your opponents.

Do the customer satisfaction, continuous customers and possible referrals – Every time when the customer visits, this type of hybrid website will yield you profit and fruitful which is Google’s prime focus.

Not all in the world are using Google as their preferred search engine and this statistical report (Jimmy data) below proves that.

Have a quick look at it.

Only an excellent landing page will be chosen by the visitors. Else, they might either exit from your webpage or they will comment about it in a forum. You don’t need that, do you?.

You need to make sure that your website meets the basic conditions in the Google’s evaluation for a good landing page.

Once the visitors gain a wonderful user experience, which is what Google pays attention, your Click Through Rate (CTR) increases accordingly.


Pay Per Click

Paying to Google for a website that doesn’t profit you anything is a total waste.

Many pay money hoping to see their websites positioned in the first place in the search engine. Well, for some it happens and for the rest, it doesn’t.

The worst case is, you need to pay Google when the user clicks and enters your website. It doesn’t concern them whether you made a sale or not.

So, it’s up to you and your effort alone to follow certain metrics and serve your website to the users, making them choose yours and yours only, amid the eCommerce websites.

To make you understand about the PPC campaigns in a much better way, the below infographics will suffice.

Irrespective of the product you are selling in the landing page and PPC campaigns promoting it, every user wishes to see your ads lesser than 3-4 seconds.

Basically, your website should arouse the feeling that they have found the right one and worth spending time on it and of immense use for them.


Landing Page

A well built perfect landing page, being consistent with enticing PPC ads attracts more visitors. More the number of visitors, maximum the conversion rate will be, eventually.

Talking about the user experience, everyone has ample knowledge about everything these days, so all you need to do is to trigger it and make them feel that they have made a perfect landing.

That way a random visitor will certainly become your potential customer and once they love your products, whatever you are selling, you will come to know about the impact it creates in terms of conversion and your position in the Google’s site ranking.

Make sure that you create a unique and individual landing page for every ad about the new product and offers.

Always focus on the question – How would I be benefitted from this? Or What’s in there for me?. It helps you to think in user’s perspective.

Below infographic illustrates the features about having a nice landing page.

Acquire the information from the above infographics and try to implement it.

Coming back to attracting a customer, Choosing wisely the headline is also the best way to tempt users to click it immediately.

You can try using the question headline, the headline that answers the queries, reasons why should they click, with humor.

Refer to Landing Page from Google’s perspective for further information.


Quality Score

Though we knew about Quality Score, briefing it, will help the starters to grasp efficiently.

Here we go for non-techies,

Quality Score is a Google’s evaluation given to your website, measured from 0 to 10.

It utterly depends upon your CTR (Click Through Rate), relevance of the ad campaign, keywords, the PPC ads and CPC bid. Once this is done in a well-ordered manner, you are making your target audience benefit from it.

So, why do you need QS basically?.

Let me explain it to you through a very simple equation:

From, CPC * QS = a
Your Quality Score, QS= a/CPC
CPC = Cost-Per-Click
a = AdRank of advertiser
QS = Quality Score

The higher the ad rank and more the Quality Score, least is the cost of a click naturally. (Source: Wordstream)

About that, it would be great when you see it through a video for easy grasp.

NOW WATCH:  Find Your Quality Score in Google AdWords

Higher Quality Score associates firmly to the top level performing campaigns.

I know that everyone is now focusing on how to increase your Quality Score.

Let’s step into it right away.


Best Ways to increase your Quality Score

Though there are plenty of ways to do that. We have suggested you the best, which might benefit you:

  • Try to discover newly relevant keywords to be added to your campaigns. Do this and you will be on the top of the hierarchy and able to give a tough fight to the competitors.
  • Divide your keywords into a well-organized category, which in fact leads to separate ad campaigns.
  • Do the Adtext refining. Getting higher CTR (Click Through Rate) from potential ads is another way of increasing QS.
  • Optimize your Landing Page. Follow the norms systematically in creating a landing page which links directly to your ad group. Using this metric, the user should be tempted and feel aroused, leading to better conversions.
  • Try using Negative Keyword. Don’t pay for those which don’t convert. Avoid irrelevant search. Closely monitor, discover and get rid of such non-converting keywords.

So, Basically, Google is trying to tell a message that PPC ads help your customers, by maintaining higher QS.

They will charge you lesser for every click, provided you are to provide the customers with enticing ads and make them feel that the click they did is worth and have landed perfectly to get what they need.


Page Speed determines the conversion rate

Talking about Google’s prime focus, it is Page Speed that matters all the time.

All you need is an excellent loading time to display your website’s content with all the enhancement tools worked out properly.

Now, this creates an awesome user experience which indirectly or directly helps you in many ways.

Just imagine your website is loading quicker than the others, it naturally has more possibilities for better conversions.

For eCommerce websites, it should be the highest priority.

I will try to give some real time examples:

Among the top eCommerce websites like Walmart, eBay and Amazon; Walmart is proved to be the quickest. It was also said that they were planning to increase their performance even better which results in:

A 2% increase in conversions was experienced by them for every 1 second of enhancement.

Did you just notice that a minor variation in seconds causes drastic changes?

This will definitely be a significant information to all.

To make this still more interesting, a survey says that 83% of the users expect sites to load within 3 seconds.

Believe it or not, It is also stated that 7% increase in conversions will be made when performance is enhanced by 1 second.

Refer to what Google says:

“If it takes too long for your website to load when someone clicks on your ad, they’re more likely to give up and leave your website. This unwelcome behavior can signal to Google that your landing page experience is poor, which could negatively impact your Ad Rank. That’s why you want to make sure your landing page load time is up to speed”.

Now, try to focus on the poor load time, possible causes and how to rectify it using the Speed rules and testing tools.

When did you last modify your website using the below said implementations to become an ideal website?.

  • Files compression,
  • Minification of HTML, CSS and JS,
  • Using Browsing Caching,
  • Increasing server response time,
  • Image optimization.

You need to know about the PageSpeed insights rules in a much detailed way for better understanding.


Analyzing Page Speed

When was the last time you made an analysis of your website’s page speed?

If you prefer your website to land like a rocket, every time a customer clicks open, then you need to do the patching and boosting works.

Plenty of tools will help you to analyze your page speed’s performance, but the below-referred tools are quite the best:

  • Pingdom
  • Speed Boost XYZ
  • GTMetrix
  • PageSpeed Insights
  • YSlow
  • Web Page Analyzer
  • Load Impact
  • P3 (Performance Plugin Profiler)
  • Dotcom-monitor

I will show you pictorial representation of some examples using the above software.


Google Page Speed Insights:

You will see a drastic change overall, when followed the norms and practices. I have given real-time examples showing before and after the analysis by the use of the tool “Page Speed”.

Desktop Version – BEFORE

Desktop Version – AFTER

Mobile Version – BEFORE

Mobile Version – AFTER



Below is the final pictorial illustration of the analysed website using the tool “Speed Boost XYZ”.




GTmetrix is another Tool through which I have explained through a picture explanation for your understanding.


So, now you know the importance of analyzing your website for a speedy display just like a pop up message.

This should be at systematic intervals. Maintenance always costs you much.

Likewise, monitoring your website to stay back in the google’s ladder of rating is a effort taking work, but once you get acquainted with it, you will master it and will be able to suggest others your experience.

Eager to know why quicker loading websites make more money?. An infographics from comelite will narrate this.


Wrapping up

Referring to our discussion, if you want to be in the profit zone, you need to focus on higher QS, perfect landing page, Page speed enhancements often, PPC ads, Adwords and ad campaigns and other metrics. Many of you will always be dynamic initially by creating and maintaining everything whatever Google suggests them. But on the go, you will diminish your activities gradually, which results in losing your site’s hierarchy from top to end. Choosing a catchy headline, Organizing keywords, refining the text and negative keyword usage are some of the other metrics you need to focus on.

Hope I have given you many useful inputs and thought process.

If you think we have missed anything at all, feel free to comment us, so everyone will be benefited.

What do you think about the slow loading websites and how they can impede your earning?

What is your idea about earning from paid advertisements?

What is your experience with Google ads and slow loading websites?

Share this post :