当前位置:网站首页>page load process
page load process
2022-08-02 03:39:00 【cjx177187】
How does a browser load a webpage?
- The URL entered in the address bar of the browser and pressing Enter will request the server once; the server will return a data packet which is the web page code (text document in html format)
- The browser starts to run and parse the html text (there is no external image, js, css, font library resources at this time)
- When the src attribute of the img tag is encountered during parsing, it will asynchronously start the network request to the server again, the server will return the data packet (image encoding) and then render it
- When a link-href is encountered during parsing, it will asynchronously start the network request to the server again, the server will return the data packet (css encoding) and then load it
- When parsing, xxxx-url will asynchronously start to request the server again, the server will return the data packet (corresponding to the encoding) and then load it
- When parsing, script-src will asynchronously start to request the server again, the server will return the data packet (js encoding) and then use the js engine to execute the encoding
- window.onload will be triggered when all resources are loaded
边栏推荐
猜你喜欢
随机推荐
猴子选大王
动态代理工具类
Problems when yolov5 calls ip camera
知识工程作业2:知识工程相关领域介绍
js作用域与闭包
磷脂-聚乙二醇-酰肼,DSPE-PEG-Hydrazide,DSPE-PEG-HZ,MW:5000
Phospholipid-polyethylene glycol-thiol, DSPE-PEG-Thiol, DSPE-PEG-SH, MW: 5000
Questions about your resume
Advanced gradient of skeleton effect, suitable for waiting for pictures
How to check whether a table is locked in mysql
DOM manipulation---magnifying glass case
[Mianjing] Mihayou data development on one side and two sides
getattr()函数解析
SSM integration
亚马逊卖家怎么提升转化率
subprocess.CalledProcessError: Command 'pip install 'thop'' returned non-zero exit status 1.
语义分割标签即像素值的巨坑,transforms.ToTensor()的错误使用
L1-043 阅览室 (20分)
ThunderBirde无法登录问题、pycharm调试一直收集数据、RuntimeError: CUDA error: device-side assert triggered等疑难杂症解决
SOCKS5








