Briefly describe the process of inputting url to the web page

Brief description:

Determine whether it complies with the URL rules -> Generate URL -> Whether there is a cache in the browser (if there is a cache, go to the cache) -> DNS analysis -> Obtain the IP address and port number -> Whether it is an https link (if adding a TLS link) -》TCP three-way handshake-》Initiate http request-Browser builds request header, request line, request body and cookie (transport layer)-》Send-》Server response-》Return data-tcp waved off 4 times-> Browser parsing Content-type type-》Whether it is html type (not resource loading)-》Generate dom tree and cssom tree-》Generate render tree (display:none does not render) -》Layout tree-》Draw-> Layered tree-》 Draw list -> Composition thread -> GPU composition bitmap -> Visible page

 Please see the picture above for detailed version

Guess you like

Origin blog.csdn.net/weixin_44383533/article/details/130291976