Remove Javascript that blocks the display of content

Connect Asia Data learn, and optimize business database management.
Post Reply
rochon.a1.119
Posts: 432
Joined: Thu Dec 26, 2024 3:17 am

Remove Javascript that blocks the display of content

Post by rochon.a1.119 »

If your website is built with a CMS and you see “Optimize CSS delivery” in Google Page Speed, the best thing you can do is change the theme.

If it is your own development in HTML and CSS, the best thing you can do is to re-shape the website.


This is another error that often appears in current themes that overload the top part of the website, since it is the first thing visitors see when they enter.

Technically, this message usually appears when there are so many elements inserted at the top of the page that the web browser has to make more requests to the server than it should, thus slowing down the loading of the page.

If you get this error and you are using a CMS, change your theme or greece mobile database check if a plugin is inserting additional elements.

If you get this error and your website is developed by you, you will have to manually remove elements from the code.



This error has been appearing quite often lately due to the javascript sliders that are usually inserted at the top of pages.

The error appears when the HTML loads javascript code from external sources and the browser has to wait to download the javascript and thus slows down the loading speed of the website.

What is the solution in this type of situations?

Well, the ideal solution is to move the javascript to the end of the page or have it load asynchronously.

In any case, if you are a beginner user, you will find it difficult to understand this process, so you will have to look for someone to make the necessary modifications, since even with plugins in the CMS it is not possible to solve this problem efficiently.

If you are looking for a script/plugin that allows you to insert an asynchronous slider you can try Revolution Slider.

At least in Wordpress with the proper configuration it usually loads well asynchronously.

There are other external javascript scripts that we can make load asynchronously, such as Adsense javascript among many others.

Google Page Speed ​​Module
The Internet giant has also developed modules to integrate Google Page Speed ​​optimizations into the most widely used web servers: Apache and Nginx.

In the case of Apache the module is called mod_pagespeed and in the case of Nginx it is called ngx_pagespeed.
Post Reply