Perceived performance - MDN Web Docs Glossary: Definitions of Web-related terms 编辑

Perceived performance is a subjective measure of how fast a website seems to a user based on load time and site responsiveness. This measure relies on human perception, not an objective metric like time to interactive.

In terms of web performance, perceived performance is how fast a user interaction feels rather than how fast an interaction actually is, be that a button press or a page load. Perceived performance is not how fast your site is; it's how fast your users think it is. Perceived performance is not measured by when your site is done loading but when it has loaded enough for users to believe it has loaded and is interactive. In terms of conversion rates, perceived performance is more important than the actual load and response times.

Speed Index is a common metric for measuring perceived performance, though it's not perfect. Other features, such as good UX design, including animations, and lazy loading, can make your site appear more responsive, even if the download and response times remain the same.

Actual performance is a measurement from when a request is made, through the downloading, parsing and execution of all resources, and the final paint. While increased performance generally increases perceived performance, there are some techniques that can be used to increase perceived performance while marginally decreasing actual performance.

There are front end optimization techniques that can improve perceived performance, such as adding the defer or async attribute to scripts, or placing scripts at the end of documents, and placing CSS in the head of documents.

Learn more

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:116 次

字数:2117

最后编辑:7 年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文