当前位置:网站首页>Enter the rough outline of the URL question (continuously updated)
Enter the rough outline of the URL question (continuously updated)
2022-07-07 03:53:00 【There are boats in the river and sea】
1.URL analysis ( code )
2. The query cache ( Cache related knowledge )
3.DNS analysis (DNS relevant )
4、 Get IP Address origination HTTP request ( You can ask about all kinds of basic knowledge about the network ,TCP、IP、UDP、HTTPS、HTTP2)
5. establish TCP Three handshakes • If it is HTTPS establish TLS Secure channel connection (HTTPS encryption )
6. send out HTTP request , This request may go back to the proxy server or the source server .( Server agent )
7. Get HTTP Respond to (HTTP Response code )
8. according to Content-Type To determine the response file type ( Commonly used HTTP The role of the response head ) • stream class , The browser starts the download interface to download files . • text、 Picture class , The browser is displayed directly on the page • html type , The browser will parse the page .
9. • Page parsing • The network process transfers to the rendering process HTML data • Yes HTML Conduct lexical analysis , Build by stack algorithm DOM Trees .(AST Grammar tree ) • If you encounter external resources , The browser will be handed over to the network process to download . • After construction DOM At the same time as the tree , take CSS The code becomes understandable by the browser StyleSheets • Standardize style attribute values ( Company 、 size ) • To calculate the DOM The specific style of each node of the tree • Calculate each DOM The style of the parent nodes of the node ( Style inheritance ) • DOM When the tree is built , Merge StyleSheets build CSSOM Render tree . • Typesetting : Traverse the rendering tree , Calculate the coordinate position of the element . • layered : Generate layers for nodes • draw : Draw page elements one by one with browser instructions .( How to avoid redrawing and rearranging ) • Gridding • synthesis
边栏推荐
猜你喜欢
[leetcode] 700 and 701 (search and insert of binary search tree)
How to detect whether the MySQL code runs deadlock +binlog view
Arduino droplet detection
Graphical tools package yolov5 and generate executable files exe
运算放大器应用汇总1
How to replace the backbone of the model
VHDL implementation of single cycle CPU design
21.(arcgis api for js篇)arcgis api for js矩形采集(SketchViewModel)
Set WiFi automatic connection for raspberry pie
19.(arcgis api for js篇)arcgis api for js线采集(SketchViewModel)
随机推荐
Termux set up the computer to connect to the mobile phone. (knock the command quickly), mobile phone termux port 8022
【mysql】mysql中行排序
如何自定义Latex停止运行的快捷键
Summer 2022 daily question 1 (1)
RestClould ETL 社区版六月精选问答
二进制、八进制、十六进制
Construction of Hisilicon universal platform: color space conversion YUV2RGB
Set static IP for raspberry pie
[leetcode] 700 and 701 (search and insert of binary search tree)
QT 打开文件 使用 QFileDialog 获取文件名称、内容等
20. (ArcGIS API for JS) ArcGIS API for JS surface collection (sketchviewmodel)
GPT-3当一作自己研究自己,已投稿,在线蹲一个同行评议
ERROR: Could not build wheels for pycocotools which use PEP 517 and cannot be installed directly
24. (ArcGIS API for JS) ArcGIS API for JS point modification point editing (sketchviewmodel)
How to customize the shortcut key for latex to stop running
23.(arcgis api for js篇)arcgis api for js椭圆采集(SketchViewModel)
大白话高并发(二)
Clock in during winter vacation
ubuntu20安裝redisjson記錄
About Tolerance Intervals