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

从url输入到页面展现发生了什么? #53

Open
zhuguly-zz opened this issue Jul 9, 2020 · 0 comments
Open

从url输入到页面展现发生了什么? #53

zhuguly-zz opened this issue Jul 9, 2020 · 0 comments

Comments

@zhuguly-zz
Copy link
Owner

总体来说分为以下几个过程:

  • DNS 解析:将域名解析成 IP 地址
  • TCP 连接:TCP 三次握手
  • 发送 HTTP 请求
  • 服务器处理请求并返回 HTTP 报文
  • 浏览器解析渲染页面
  • 断开连接:TCP 四次挥手

参考文献
从URL输入到页面展现到底发生什么?- GitHub
从URL输入到页面展现到底发生什么 - segment fault
题目来自饥人谷

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