Hello,
can u help me please with this google fonts PageSpeed Insights issue?
https://www.dropbox.com/s/avvkrdvjkj3cl4u/Screen%20Shot%202015-07-29%20at%2011.34.10.png?dl=0
Latest ver of theme, Speedbooster v4.1, functions.php trick shows only style.css in registered styles, how to catch this google fonts styles id’s?
Url – applemix.ru
Thanks
Hi,
I’ve checked your page and the css and js was moved at the page bottom – http://screencast.com/t/X7w4kAL9
On our demo we use the default settings and only a few plugins. On your side the difference is that you changed the default settings, this adds extra css at the page end and google may consider that the resources are not actually called after the content was rendered. You also use one or more extra plugins, one of them adds a lot of inline css in the page top section – http://screencast.com/t/xgsqcewD
Try to make some tests with the theme default plugins and see if there’s any difference.
Thank you!
Emil thanks a lot to take a look, but my question was only about google fonts css, this 3 lines:
https://www.dropbox.com/s/8sck00ye0u31v3c/Screen%20Shot%202015-07-31%20at%2015.48.47.png?dl=0
Everything else is fine for me.
Before update to last ver of theme and speedbooster i have only one load blocking js (jquery) and one css (style.css), so i just want to move this google fonts css to speedbooster again.
Any suggestions?
Hi,
If you have reported resources which don’t appear when you use the register scripts/styles id function then you should change the priority, some plugins may load after it and that’s why it doesn’t return all js – http://screencast.com/t/7fhfjttAT8
http://codex.wordpress.org/Function_Reference/add_action
Thanks
Hello, Lucian
I try to change priority, same result – https://www.dropbox.com/s/z7jg41xbdwn8zle/Screen%20Shot%202015-08-05%20at%2015.45.04.png?dl=0
I also disable all plugins and get this result – https://www.dropbox.com/s/z0a1gmokxqh99gn/Screen%20Shot%202015-08-05%20at%2016.07.42.png?dl=0
Before my td-speedbooster file didn’t have line:
$this->move_style_to_footer_queue(‘google_font_roboto_cond’);
So i add it, but at google speed insights same result.. speedbooster still don’t handle this fonts styles( Maybe cause it’s extended (cyrillic) versions? Any suggestions how to catch it? or any other way to handle it manually?
Thanks in advance.
Hi 4lt3r,
For the first two fonts: http://screencast.com/t/WoDyYNYe use the following ids in the speed booster plugin: http://screencast.com/t/YWF5cL3FJ4 – http://screencast.com/t/Vzq0U1sc I’ve tested this and it works so make sure you do this right.
For the second open sans font css I’m not from where is it loaded, it could come from a plugin or if you have set a custom font from theme panel. Make sure you have theme set settings to default and disable all plugins to test this.
Thanks