添加标记以显示是否启用内部网站导航

作者: tunetheweb创建于 2023年10月18日更新于 2023年10月19日

如果页面是内部网站导航,那么它的性能特征可能与跨站点导航不同,后者的 TTFB 可能更高,或者缓存的对象更少。这可以通过 `new URL(document.referrer).origin === new URL(performance.getEntriesByType("navigation")[0].name);` 来测量。

内容来源: GoogleChrome/web-vitals