当前位置:网站首页>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
边栏推荐
- C语言 void和void *(无类型指针)
- 骨架效果 之高级渐变,适用图片等待时
- 磷脂-聚乙二醇-叠氮,DSPE-PEG-Azide,DSPE-PEG-N3,MW:5000
- IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boo
- JJWT tool class
- STM32 map文件解析
- oracle inner join and outer join
- The difference between the knowledge question and answer session with the knowledge
- 跨域问题解决
- display,visibility,opacity
猜你喜欢

js基础知识

解决MySQL创建子视图并查看的时候,字符集报错问题

环形链表---------约瑟夫问题

nucleo stm32 h743 FREERTOS CUBE MX配置小记录

UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the index ing argu

Problems when yolov5 calls ip camera

磷脂-聚乙二醇-酰肼,DSPE-PEG-Hydrazide,DSPE-PEG-HZ,MW:5000

解决glob()返回文件排序不一致问题&onnx本地按照安装方法

Cloud server installation and deployment of Nacos 2.0.4 version

Chemical reagent Phospholipid-polyethylene glycol-hydroxyl, DSPE-PEG-OH, DSPE-PEG-Hydroxyl, MW: 5000
随机推荐
相对路径和绝对路径
__dirname
磷脂-聚乙二醇-叠氮,DSPE-PEG-Azide,DSPE-PEG-N3,MW:5000
最新,每天填坑,Jeston TX1 精卫填坑,第一步:刷机
C语言 十六进制整数字符串转十进制整数
Questions about your resume
知识问答与知识会话的区别
docker中配置mysql 5.7
UserWarning:火炬。meshgrid:在以后的版本中,它将被要求通过索引ing argu
L1-039 古风排版(C)
How to check whether a table is locked in mysql
The difference between the knowledge question and answer session with the knowledge
mysql阶段总结
磷脂-聚乙二醇-靶向新生血管靶向肽APRPG,DSPE-PEG-APRPG
啃瓜记录又一天
debian 10 nat and routing forwarding
骨架效果 之高级渐变,适用图片等待时
STM32 CAN过滤器
Cut out web icons through PS 2021
STM32 触发HardFault_Handler如何查找原因