URL-->DNS
- First enter... In the browser
https://www.baidu.com, The browser requests resolution DNS service , Resolve the domain name to IP Address return . - 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
- adopt
IP Address Access server , Server listening 80 port , adopt path Return the corresponding resource . - Server response template + data , Status code
200. The browser receives resources .
The browser parses the data and renders
- Browser parsing
html-->DOM, analysis css-->CSSOM(CSS The object model ). 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