Liquid, JavaScript, themes, sales channels
Hi all,
I'm trying to use Google PageSpeed to optimize my speed on various pages. However, recently I'm getting an error when trying to do so as below:
"Lighthouse returned an error: NOT_HTML. The specified page is not HTML (displayed as MIME type text / plain)."
This seems to be related to a general issue on Shopify and I'm concerned whether this may indicate a more general overarching issue. Any thoughts on how to resolve this?
Solved! Go to the solution
This is an accepted solution.
Hi all,
I received the following reply from Shopify support:
Thanks for reaching out with this concern with your Google Page Speed. I understand how important Google rankings can be for our merchants, so rest assured we'll get to the bottom of this.
Doing some digging on my end here I've located the source of this error: we've been working with Cloudflare and Google to enable a new feature on storefronts that will allow for faster page loading. It's called 103 Early Hint, and is very new, so Google is still working on adding support to Lighthouse.
You can keep an eye on this Google Lighthouse GitHub issue page for more info on when they're expecting this new feature to be supported. As of now they're saying it's a priority, but they have no ETA.
Me too! Google speed test recently upgraded, I saw the changes on the 15th while testing. It might have something to do with that.
What I do now is I copy the live theme, or the theme I look to improve on, and I use a preview link of that copy to test with google. I know it is not completely accurate but until this gets fixed either by google or by shopify we can still use it.
Let me know if you have another solution to this. Thanks!
We have clients experiencing the same issue. Older implementations of lighthouse work fine, but the one used by the upgraded PageSpeed Insights auditor is returning a NOT_HTML error.
Perhaps a server configuration issue on Shopify's end, conflicting with a new version of lighthouse?
My store as well. Hadn't thought of running the preview link to get page speed info. Thanks for the temporary fix.
I'm experiencing the same issue on all of our shopify sites. I imagine this is something shopify will need to update.
Relatei ontem pelo twitter ao shopify o mesmo problema e me deram a resposta final que seus desenvolvedores vão atrás da solução para o problema. Obrigado a todos que relatam pelo fórum, pois só assim um problema tão grave quanto este poderá ser solucionado agora muito mais rápido! Pakinha Adesivos do Brasil.
Happening on my end as well
I'm having the same issue after moving to an update of our theme that supports OS2.0, but rolling back to the previous version does not fix the Pagespeed Insights Error
I have not even switched to 2.0 but I ma still facing the issue n trendspremier.com
The same issue is happening on every Shopify site that I develop/manage, including my own shop. My Shopify site speed number plummeted 16 points since the change to Google PageSpeed Insights and our site rankings are taking a hit. Hope a fix is in the works.
This is an accepted solution.
Hi all,
I received the following reply from Shopify support:
Thanks for reaching out with this concern with your Google Page Speed. I understand how important Google rankings can be for our merchants, so rest assured we'll get to the bottom of this.
Doing some digging on my end here I've located the source of this error: we've been working with Cloudflare and Google to enable a new feature on storefronts that will allow for faster page loading. It's called 103 Early Hint, and is very new, so Google is still working on adding support to Lighthouse.
You can keep an eye on this Google Lighthouse GitHub issue page for more info on when they're expecting this new feature to be supported. As of now they're saying it's a priority, but they have no ETA.
Well that's much better than the response I got from them which takes the stance that it's not their problemo
Just following up on your concern about the PageSpeed Insights tool generating the Lighthouse returned error: NOT_HTML. The page provided is not HTML (served as MIME type text/plain) error.
According to our Technical team, they are not able to troubleshoot third-party apps like Pagespeed. Pagespeed Insights/Shopify incompatibilities are not desired but can happen for a number of reasons. You can use the Myshopify URL in the tool to get a better insight. You can also try to run a lighthouse audit from within the Chrome Dev Tools to generate this report.
If you've tried these and are still experiencing an issue then you'll have to reach out to Google support for further assistance with this. Since the Pagespeed app isn't controlled by Shopify so we're limited in the amount of support we can provide.
That's a fair cop out
It is now solved yet please help
I tested using the tool on a number of sites I've worked with in the past who have definitely not updated anything, and they all throw the same MIME errors on Page Speed Insights.
Looks like it's widespread, and hopefully the message above regarding the cloudflare 103 early hint is what's happening and the page speed failure doesn't cause any issues for Google Search Console
We are having the same issue as well. Shopify - pls help
Also having the same issues, please advise.
Same here........ It's been like this since days ago...
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024