get_header_image() causes "Prioritize visible content" issue in Page Speed Insights

I am trying to optimize my site’s speed using PageSpeed Insights. I got the critical CSS inlined by using grunt criticalcss. That’s all fine, but in my header, I use get_header_image() to show the logo. Page Speed Insights complains that “Only about 34% of the final above-the-fold content could be rendered with the full HTML response”. As soon as I remove the logo from my code, the problem goes away. Is there any way I can avoid this, besides just placing it in a folder somewhere and grabbing it from there? I’d like my clients to have the option of easily uploading a new image.

Read more here: get_header_image() causes "Prioritize visible content" issue in Page Speed Insights

Leave a Reply

Your email address will not be published. Required fields are marked *