Google PageSpeed Insights错误:获取或分析页面时发生错误 [英] Google PageSpeed Insights Error: An error occurred while fetching or analyzing the page

查看:336
本文介绍了Google PageSpeed Insights错误:获取或分析页面时发生错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道如何获取有关导致此问题的原因或如何进行调试的信息吗?网站是花环sunlimited.com

Does anyone know how to get any information on what causes this issue or how to go about debugging it? Site is wreathsunlimited.com

developers.google.com/speed/pagespeed/insights上的Google PageSpeed Insights运行到大约70%,然后终止为获取或分析页面时发生错误".该网站使用以下格式运行: webpagetest.org dotcom-tools.com gtmetrix.com 必应的工具.每次使用Google的PageSpeed Insights都会失败.另外,Google Analytics(分析)不会报告页面计时.

Google PageSpeed Insights at developers.google.com/speed/pagespeed/insights runs to about 70% and then terminates with "An error occurred while fetching or analyzing the page." The site runs clean with: webpagetest.org, pingdom.com, dotcom-tools.com, gtmetrix.com and Bing's tool . It fails every time with Google's PageSpeed Insights. Also, Google Analytics reports no page timings.

该站点是WordPress/WooCommerce站点,并使用CloudFlare(Pro帐户)作为CDN,并使用WP Super Cache或W3 Total Cache来缓存WordPress页面. CloudFlare和WP Super Cache/W3 Total Cache均已删除,以消除可能的问题.

The site is a WordPress / WooCommerce site and uses CloudFlare (Pro account) as the CDN and uses WP Super Cache or W3 Total Cache to cache the WordPress pages. Both CloudFlare and WP Super Cache / W3 Total Cache have been removed to eliminate possible issues.

我们还尝试使用Google Pagespeed api.它返回下面的500响应.我们已经删除了CloudFlare,因此500错误必须来自Google的服务器或正在测试的网站(wreathsunlimited.com).有人知道吗?我们在服务器日志中找不到500个错误,但是我认为有可能约500个错误没有被记录(我可能是错误的).

We also tried using the Google pagespeed api. It returns the 500 response below. We have removed CloudFlare so the 500 error has to be from Google's server or the site being tested (wreathsunlimited.com). Does anyone know which? We can find no 500 errors in the server logs, but I think it is possible that some 500 errors don't get logged (I could be wrong).

curl "https://www.googleapis.com/pagespeedonline/v1/runPagespeed?url=https://www.wreathsunlimited.com/&key=(apikey)"
{
"error": {
  "errors": [
   {
    "domain": "global",
    "reason": "internalError",
    "message": "An error occurred while fetching or analyzing the page."
   }
  ],
  "code": 500,
  "message": "An error occurred while fetching or analyzing the page."
}
}

由于Google使用页面速度来衡量搜索结果的权重,因此我们担心SEO会遭受损失,因为该网站将无法运行PageSpeed Insights.

Since Google uses page speed to weight search results, we are concerned that SEO is suffering because the site will not run PageSpeed Insights.

任何帮助或想法将不胜感激.

Any help or idea's will be greatly appreciated.

推荐答案

我们在api和Web服务上遇到了同样的问题.我们发现页面速度评分工具最多可以加载200个资产.我们遇到了这个问题,因为那里有很多图像,js文件和广告.

We had the same problem with the api and the web service. We found out that the pages peed score tool has a limit of 200 assets that can be loaded. We ran into that problem because there where a lot of images, js files and ads.

来源:

  • https://moz.com/community/q/google-pagespeed-insights-error
  • Google Page Speed Insights API: Internet Error

这篇关于Google PageSpeed Insights错误:获取或分析页面时发生错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆