Please help with Remove render blocking css/js – using the TagDiv SpeedBooster"

Posted in: Newspaper
Post count: 31

Hello,

I try to make my web site faster because now i have a low score: 55/65 on google page speed test.
So, my problem it’s on ” Remove render blocking css/js ”
I realy don’t know what it is my mistake. I will explain you step by step what i have do :

1: I have install yous plugin: TagDiv SpeedBooster
2: I have add on function.php the your specific code.
3: I have extract all id for all the css and js from top page.
4: I have remove the code from functions.php
5: I have test the page and i have identify the ID of the JS script. for example the first line it’s:
https://www.domain/wp-includes/js/jquery/jquery.js?ver=1.12.4 then, on the file td-speed-booster.php i have added this code: $this->move_js_to_footer(‘jquery ‘);

This is corect ?! I have doutes that the code that i have add it’s corect.
I realy don’t know exaxt what ID i must identify in my list because the id that i have add nothing happened.

many regards for your help.

Post count: 23312

Hello d_alinus2004,

Regarding on page speed, please notice that thing depends on how well your site is optimized. Notice that is not a simple task and if you do not have any experience in this regard you will do not bring good results for the theme. Also, notice that we have a speed optimization tutorial but this is addressed only to advanced users. So, if you follow the steps which are presented in this tutorial here -> https://forum.tagdiv.com/how-to-make-the-site-faster/ you can increase the page speed loading and if you are not aware of the steps in this regard, please consider hiring a freelancer/developer to help you because the speed optimization services are not covered by our support policy, as you can read here -> https://forum.tagdiv.com/support-policy-2/ Check our documentation here -> https://forum.tagdiv.com/requirements-for-newspaper/ regarding on dedicated server to fit to our requirements. For an example, you should check our demo preview because this website is optimized.

There are multiple guides and tutorials here on the forum regarding speed optimization, that you can search for and read:
https://forum.tagdiv.com/how-to-make-the-site-faster/
https://forum.tagdiv.com/cache-plugin-install-and-configure/
https://forum.tagdiv.com/cloudflare-cdn/

Thanks for your understanding!

Post count: 31

Hello,

Many thank’s for your help.
I confirm you that i have folow this ghide:
https://forum.tagdiv.com/how-to-make-the-site-faster/

So, no problem for all the steps.
The only think that i don’t understend it’s the ID of the JS script.
So, when i make the test, on the section ” Eliminate render-blocking JavaScript and CSS in above-the-fold content” the first line it’s:
https://www.domain/wp-includes/js/jquery/jquery.js?ver=1.12.4
Then i try to identify the ID of this java scrip on the notepad where i save a list with the id for all the css and js but i realy don’t know what it’s that!

Please let me know if i can share here the list ?! and if you can told me what it’s the ID ?!

Many regards.

Post count: 23312

Hello d_alinus2004,

Please keep in mind that is not a simple task and if you are not an advanced user, you should consider hiring a freelancer/developer to help you because we cannot provide optimization services at the moment, sorry! As a hint, notice that all of the ID’s can be taken from source page, like this -> https://www.screencast.com/t/VHztiOV3e

Thanks for your understanding!

Post count: 31

Hello,

Many thanks for your help.
I folow the ghuide and i have increase the page speed from 22/100 and 25/100 to 60/100 and 76/100 .Very good result.
For CSS i have find the ID but for JS i realy donțt know where i must locking for!
Please let me know if you can help me with this?!

In rest any way that is a good result.

Post count: 31

Hello again,

For CSS i see today that it’s no work also.
My code on wp-content/plugins/td-speed-booster/td-speed-booster.php for move the style on footer it’s like that but still the same message on page speed test: Your page has 12 blocking script resources and 13 blocking CSS resources. This causes a delay in rendering your page.

I realy don’t understend what it’s wrong!

function css_mover() {
//if ($this->td_theme_name == ‘Newspaper’) { }
// wp 011 – Newspaper 6

$this->move_style_to_footer_queue(‘bbp-default-bbpress’); //bbpress old
$this->move_style_to_footer_queue(‘bbp-default’); // bbpress
$this->move_style_to_footer_queue(‘contact-form-7’);
$this->move_style_to_footer_queue(‘simple-payments-css’);
$this->move_style_to_footer_queue(‘rw-site-rating-css’);
$this->move_style_to_footer_queue(‘usp_style-css’);
$this->move_style_to_footer_queue(‘td_live_css_frontend-css’);
$this->move_style_to_footer_queue(‘google-fonts-style-css’);
$this->move_style_to_footer_queue(‘rw_toprated-css’);
$this->move_style_to_footer_queue(‘rw_recommendations-css’);
$this->move_style_to_footer_queue(‘td-theme-css’);
$this->move_style_to_footer_queue(‘td-theme-demo-style-css’);
$this->move_style_to_footer_queue(‘social-logos-css’);
$this->move_style_to_footer_queue(‘open-sans-css’);
$this->move_style_to_footer_queue(‘jetpack_css-css’);

Post count: 20688

Hi,

The Speedbooster plugin will move most of the resources to be loaded in the footer, by default. For others that you can try to move theme by following the guide provided above. Please note that not all resources can be moved in the first place. Or forcibly moving them could break some plugins functionality.
The Speedbooster will will deactivate itself if an incompatible plugin is detected. In the guide you can see the default compatible plugins. More information here
https://forum.tagdiv.com/topic/tinymce-advanced-and-other-various-disabling-speed-boster/

Thanks

Post count: 31

Hy,

So, if i understend right all the code that i have add it’s not compatible with the plugin?!

That it’s the explication.

Post count: 20688

Hi,

Yes that is the case. The plugin was not tested with all the plugins out there, so if it were to apply to all other elements it could create problems. That is why the plugin checking is used. That can be deactivated like mentioned in the topic provided, if you would like to try and use it with other plugins.
But please understand that it may or it may not not work properly, and cause issue with plugins. You will have to make tests and see if everything works as it should.

Thanks

Post count: 31

OK i understend.

Many regards and thank’s for all your support!

Viewing 10 posts - 1 through 10 (of 10 total)
The forum ‘Newspaper’ is closed to new topics and replies.