Skip to content
New issue

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

浏览器如何渲染一个页面 #10

Open
mishe opened this issue Nov 26, 2015 · 0 comments
Open

浏览器如何渲染一个页面 #10

mishe opened this issue Nov 26, 2015 · 0 comments

Comments

@mishe
Copy link
Owner

mishe commented Nov 26, 2015

先附上一张图片:

这是在网上找的一张图,虽然是用来描述 performance 的 API 但是也很好的描述了浏览器是怎么处理一个页面渲染的。

这是我们在 PC 时代考虑的浏览器性能,主要在服务端响应、文档下载、文档渲染三个阶段,性能优化大部分也集中在这三个阶段。针对这部分的监控、分析非常的普遍了,在JSTracker 上也有这个数据的分析。

为什么刚才说 PC 时代呢,除了这些指标作为前端还有需要关注的什么性能呢?

页面加载之后的操作体验!(注:这里的加载之后近似在 onLoad 之后)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant