当前位置:网站首页>From URL to access page rendering

From URL to access page rendering

2022-06-25 20:24:00 lin883366

URL-->DNS

  1. First enter... In the browser https://www.baidu.com, The browser requests resolution DNS service , Resolve the domain name to IP Address return .
  2. The system will start from the local DNS cache as well as hosts The corresponding... Of the domain name is found in the file IP Address . If you don't go again DNS Request .

IP Address --> The server

  1. adopt IP Address Access server , Server listening 80 port , adopt path Return the corresponding resource .
  2. Server response template + data , Status code 200. The browser receives resources .

The browser parses the data and renders

  1. Browser parsing html-->DOM, analysis css-->CSSOM(CSS The object model ).
  2. DOM+CSSOM synthesis render( Render tree ),render Conduct layout( Layout ) Calculate the geometry of each node , Finally, draw each node to the screen painting( Rendering ).
原网站

版权声明
本文为[lin883366]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202182221547001.html