在测试工具中实现 Googlebot 的最新网页呈现功能
2019 年 8 月 7 日,星期三
今天,我们更新了大部分测试工具,以便它们使用持续更新的 Chromium 呈现器。这会影响我们的测试工具,例如移动设备适合性测试或 Search Console 中的网址检查工具。在这篇博文中,我们将了解这意味着什么,以及如何进行此项更新。
持续更新的 Chromium 呈现器
在今年的 Google I/O 大会上,我们非常高兴地宣布推出最新的 Googlebot。
该更新的核心是停止使用 Chrome 41 作为呈现引擎,而是改用最新的稳定版 Chromium。Googlebot 现在使用最新的稳定版 Chromium 运行 JavaScript 并呈现网页。我们将继续更新 Googlebot 及稳定版 Chromium,因此我们将其称为“持续更新”版本。
对您网站的影响
我们非常乐于将网络平台的最新功能不仅引入 Googlebot 中,而且引入一些工具中,这些工具让您也能看到 Googlebot 所看到的内容。这意味着使用 ES6+、网络组件和 1000 多种全新网络平台功能的网站现在在 Googlebot 及我们的测试工具中都已采用最新的稳定版 Chromium 进行呈现。
我们的测试工具会尽可能地反映 Googlebot 处理您网页的方式。新版 Googlebot 更新后,我们必须更新这些测试工具,才能使用与 Googlebot 相同的呈现器
这项更改将会影响以下工具中的呈现效果:
我们测试了这些更新,并根据反馈将之前列出的工具切换到了最新版 Googlebot。许多反馈来自 Google 员工和社区。产品专家和 Google 开发者专家帮助我们确保了更新顺利进行。
注意:新版 Googlebot 仍使用与更新之前相同的用户代理。不久之后,我们将提供关于用户代理更新的更多信息。目前,Googlebot 的用户代理和测试工具中使用的用户代理不会发生变化。
我们对此更新满怀期待,并希望在 Twitter、网站站长论坛或我们的网站站长“咨询交流时间”活动中收到您的反馈和问题。
发布者:网页呈现服务团队的软件工程师 Zoe Clifford 以及 Google WTA 团队的 Martin Splitt,自称“友善的互联网精灵”
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
[null,null,[],[[["Google's testing tools, including Search Console and the Mobile-Friendly Test, now utilize the evergreen Chromium renderer, mirroring the latest Googlebot update."],["Websites leveraging modern web technologies like ES6+, Web Components, and over 1000 new features will be rendered with the most recent Chromium by Googlebot and testing tools."],["This update ensures Google's testing tools accurately reflect how Googlebot processes web pages, providing developers with valuable insights."],["The change primarily affects rendering in tools like Search Console's URL Inspection tool, Mobile-Friendly Test, Rich Results Test, and AMP Test."],["While the renderer has been updated, Googlebot's user agent remains the same for now, with an update expected in the future."]]],["Google updated its testing tools, including the URL inspection tool, mobile-friendly test, rich results test, and AMP test, to use the evergreen Chromium renderer. This aligns the tools with the new evergreen Googlebot, which now utilizes the latest stable Chromium. This change enables the tools and Googlebot to render websites with newer web platform features like ES6+ and Web Components. The update was implemented after feedback from Google's internal experts and the community. The user agent remains unchanged for now.\n"]]