Public thread opened by user Zetland after migrating to new server.
Hello Support,
I’m currently trying to get the best score possible for my website (vocularapp.com) and I’ve noticed from Google’s PageSpeed Insights that this file is render-blocking:
https://vocularapp.com/wp-content/themes/appdev/css/skins/skin.php?skin=default
I spoke to Frank Goossens about it, because I thought the Autoptimize plugin would have sorted this out, and he wrote back with the following:
well, as the CSS-file is a dynamic on (i.e. .php) AO can’t aggregate/ optimize that, so it isn’t deferred which is why GSPI is flagging it. maybe check with the theme devs if the CSS can be injected inline in the HTML (in which case it would not be render blocking any more) instead of linked in a php-file?
Would you be able to do this? Inject the CSS inline with the HTML rather than through PHP?
Thanks,
James