【问题标题】:Google Page Speed Insights API: Internet ErrorGoogle Page Speed Insights API:互联网错误
【发布时间】:2017-09-01 20:25:48
【问题描述】:

我收到来自 Google PageSpeed Insights API 的错误。它只是返回带有代码 500 的内部错误。 以下是详细回复:

 "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 Cloud Console 中的 Google API 密钥(已启用 我的帐户的 PageInsights APi)。没有运气仍然是同样的消息。

这是在 tools.pingdom.com 上测试的同一页面的结果截图

如果 Google 提供详细的错误消息以帮助我们确定问题所在,将会很有帮助。任何关于此的帮助或指示都会很棒。

【问题讨论】:

    标签: optimization google-api google-cloud-platform google-pagespeed


    【解决方案1】:

    问题在于 SVG 图像。一旦它被删除页面速度开始工作。仍然不确定图像有什么问题。

    【讨论】:

      【解决方案2】:

      页面加载时加载的资源过多。渲染限制为 200。 您也可以尝试使用think with Google 测试您的网站

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2015-08-20
        • 1970-01-01
        • 1970-01-01
        • 2020-09-27
        • 1970-01-01
        • 1970-01-01
        • 2023-01-17
        相关资源
        最近更新 更多