We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如题
The text was updated successfully, but these errors were encountered:
RAIL 规则是 Google 提出的一种衡量用户体验的方法,它包括四个指标:
Response 在 50 毫秒内处理事件
目标:在 100ms 完成由用户输入发起的转换,让用户感觉交互是及时的 指导方针:
Animation 在 10 毫秒内生成一帧
目标
指导方针
Idle 空闲。指利用好空闲时间
空闲时间,即用户空闲时浏览器空闲时间的比例。
目标:最大化空闲时间,以增大 50ms 内响应用户输入的几率
指导方针:
Load 传输内容到页面可交互的时间不超过5秒
加载时间,即从用户发出请求到页面加载完成的时间。
如果页面加载比较慢,用户的交点可能会离开。加载很快的页面,用户平均停留时间会变长,跳出率会更低,也就有更高的广告查看率
目标:
优化加载速度,可以根据设备、网络等条件。目前,比较好的一个方式是,让你的页面在一个中配的3G网络手机上打开时间不超过5秒 对于第二次打开,尽量不超过2秒
这四个指标对应用户体验的四个阶段:交互、动画、空闲和加载。RAIL 规则通过对这四个阶段的衡量,帮助前端开发者更好地优化 Web 应用的性能和用户体验。
Sorry, something went wrong.
No branches or pull requests
如题
The text was updated successfully, but these errors were encountered: