When I check my Website with Gmetrics I get the message that there are render blocking ressources:
203.3KiB of JavaScript is parsed during initial page load. Defer parsing JavaScript to reduce blocking of page rendering. Is there a code that I can include in the functions.php to reduce it?
Greetings Kathrin
Hi,
In order to remove the render blocking resources please check these similar articles and topics:
Defer parsing of JavaScript
How To Fix Defer Parsing of Javascript in WordPress (5 Ways)
How to Defer Parsing of JavaScript in WordPress (4 Methods)
Hope this will help you!
Thank you!
I have tried the plugin Async Java Script but there is no change. Gmetrics still tells me that I should defer javascript…
Hi,
Please try the solution from this article -> https://www.hostinger.com/tutorials/wordpress/how-to-defer-parsing-of-javascript-in-wordpress if you have the tagDiv Standard pack enable set the code in this file wp-content/plugins/td-standard-pack/Newspaper/functions.php if this is disable set it in this file wp-content/plugins/td-composer/legacy/Newspaper/functions.php
Hope this will help you better!
Dear Calin, I have tried to use Defer Java Script again. But there are two problems:
If I use the plugin Defer Java Script (option defer, excluded theme Newspaper) –> everything works fine with Firefox, but in Chrome the main menu doesn’t work; if I enable the option async there are no pictures shown in Chrome.
As an alternative i’ve tried the code that you have linked in your last post. But then the theme doesn’t work properly with Firefox nor with Chrome.
So what I should do? If I do nothing the pagespeed for mobile sites drops down to ~60.
Thank you very much!
Greetings Kathrin
Hi,
I just checked your page speed and you website is very fast on mobile and desktop too -> https://i.imgur.com/X3XEkv0.png -> https://i.imgur.com/zuYntIp.png on GTmetrix -> https://i.imgur.com/FLycgs6.png
Also the images are lading on browsers-> https://i.imgur.com/8qkFfc4.jpg -> https://i.imgur.com/OcuzIX6.png aslso if the images do not appear on mobile theme plugin, please try on with theme plugin and check if the problem persists.
Thank you for your understanding!