My site is slow. With the previous theme gtmetrix and google page speed returning values over 80%. With current theme (Which is most beautiful certainly) parameters is a 40-45%.
you can help me?
I’m installed a Speed Booster But Does not improve.(guide https://forum.tagdiv.com/how-to-make-the-site-faster/)
How do I see if she read my .txt file?
I think it’s not working.
i generate file and called optimize.txt. I upload into directory of plugin.
i insert into td-speed-booster.php this code:
$this->move_js_to_footer(‘optimize.txt’);
$this->move_style_to_footer_queue(‘optimize.txt’);
OR
$this->move_js_to_footer(‘optimize’);
$this->move_style_to_footer_queue(‘optimize’);
but not it works
-
This topic was modified 9 years by
ideasolutionssrl.
-
This topic was modified 9 years by
ideasolutionssrl.
hello @ideasolutionssrl
This thread may help you: https://forum.tagdiv.com/topic/score-100100-pagespeed-with-newspaper-wordpress-theme/page/2/
thanks đ
$this->move_js_to_footer(âoptimize.txtâ);
$this->move_style_to_footer_queue(âoptimize.txtâ);
OR
$this->move_js_to_footer(âoptimizeâ);
$this->move_style_to_footer_queue(âoptimizeâ);
in current directory plugins/td-speed-booster
How do i know if td-speed-booster is working or not?
You have to use file-ID to move css or js
For JS files â $this->move_js_to_footer(âFILE-IDâ);
For CSS files â$this->move_style_to_footer_queue(âFILE-IDâ);
To get File-ID add following code on theme’s functions.php file
function td_inspect_scripts() { global $wp_scripts, $wp_styles; echo 'registered scripts<br>'; foreach ($wp_scripts->queue as $handle) { echo $handle . ' | ' . $wp_scripts->registered[$handle]->src . '<br>'; } echo 'registered styles<br>'; foreach ($wp_styles->queue as $handle) { echo $handle . ' | ' . $wp_styles->registered[$handle]->src . '<br>'; } } add_action( 'wp_print_scripts', 'td_inspect_scripts' );
Refer: 5.2 To get the list of registered css and js https://forum.tagdiv.com/how-to-make-the-site-faster/
you are compatibile with WP Fastest Cache? Is a Premium Plugin cache.

