Blocking CSS resources from fonts.googleapis.com

Posted in: Newspaper
Post count: 16

https://developers.google.com/speed/pagespeed/insights/

Eliminate render-blocking JavaScript and CSS in above-the-fold content
Your page has 1 blocking CSS resources. This causes a delay in rendering your page.
None of the above-the-fold content on your page could be rendered without waiting for the following resources to load. Try to defer or asynchronously load blocking resources, or inline the critical portions of those resources directly in the HTML.
Optimize CSS Delivery of the following:
https://fonts.googleapis.com/…%2C500%2C500italic%2C700%2C900&ver=7.8.1

In the future update, is it possible to load the Google Fonts after the ATF section is loaded? It helps in SEO rankings.

Thank you

Post count: 20688

Hi,

You could install the Speed Booster plugin provided with the theme. More information here
https://forum.tagdiv.com/how-to-make-the-site-faster/
The Speed booster plugin will move all the stylesheets and javascripts to the bottom of the page.

Thanks

Post count: 16

Speed Booster v4.7 Status:
Disabled – incompatible plugin detected: akismet/akismet.php

Ok, disabling Akismet…

Speed Booster v4.7 Status:
Disabled – incompatible plugin detected: amr-shortcode-any-widget/amr-shortcode-any-widget.php

I can’t keep disabling plugins just for this one to work. I think it’s easier to correct the theme and move Google Fonts below the fold.

Post count: 9544

Or, you could read the docs on how to enable the plugins for the Speedbooster plugin.

It’s actually better to hack the style sheet to load any Google fonts inline at top of style sheet and remove them being loaded by the theme if you want to get really speedy 😉

Post count: 16

Did that, I forced Speed booster to load anyway, but it still didn’t worked as expected, theme’s own CSS is still frontloaded. Probable a buggy plugin anyway.

I don’t like to mess with the theme’s CSS or functions.php, I prefer to make my own plugins, because I don’t want new problems when I’ll update the theme.

It would be nice if the theme would be optimised, without any hacks or plugins…

Post count: 9544

Unfortunately, you can’t “lock down” a theme and still make it easily editable by developers, and also ease of use in control panels, etc.

Still advisable to only load ONE CSS file, and advisable to minify it.

(I don’t work here.)

Post count: 9544

(and hot tip – start using php 7 + https + http/2 — this is the nextgen optimization method for ALL sites … wicked fast as the entire page loads as one encrypted compressed bundle, no more pieces of anything ! just insanely fast with opcache on server … by 2019 this will be “only way to fly.”)

  • This reply was modified 9 years by simchris.
Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.