当前位置:网站首页>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
边栏推荐
猜你喜欢
骨架效果 之高级渐变,适用图片等待时
[Basic Tutorial of Remote Control Development 1] Crazy Shell Open Source Formation Drone-GPIO (Remote Control Indicator Light Control)
磷脂-聚乙二醇-酰肼,DSPE-PEG-Hydrazide,DSPE-PEG-HZ,MW:5000
解决MySQL创建子视图并查看的时候,字符集报错问题
oracle内连接和外连接
AttributeError: 'Upsample' object has no attribute 'recompute_scale_factor'
PCL—point cloud data segmentation
js基础知识
parser = argparse.ArgumentParser() parsing
通过PS 2021 将网页图标抠下来
随机推荐
The difference between the knowledge question and answer session with the knowledge
磷脂-聚乙二醇-酰肼,DSPE-PEG-Hydrazide,DSPE-PEG-HZ,MW:5000
STM32 map文件解析
我的小笔记 =》原生微信小程序
getattr()函数解析
云服务器安装部署Nacos2.0.4版本
知识问答与知识会话的区别
---静态页面---
3 minutes to take you to understand WeChat applet development
nucleo stm32 h743 FREERTOS CUBE MX配置小记录
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
The usage of json type field in mysql
暴力方法求解(leetcode14)查找字符串数组中的最大公共前缀
PCL—point cloud data segmentation
磷脂-聚乙二醇-靶向新生血管靶向肽APRPG,DSPE-PEG-APRPG
ssm各类配置模板
语义分割标签即像素值的巨坑,transforms.ToTensor()的错误使用
环形链表---------约瑟夫问题
parser = argparse.ArgumentParser() parsing
AttributeError: ‘Upsample‘ object has no attribute ‘recompute_scale_factor‘