当前位置:网站首页>浏览器是如何对页面进行渲染的呢?
浏览器是如何对页面进行渲染的呢?
2022-07-03 01:25:00 【怎么又有bug单】
相信这是面试中经常会问的一个问题O(∩_∩)O哈哈~
从客观来讲,自称一个java后端工程师,或者是程序员,连页面怎么渲染的都不知道,确实有点说不过去~
不过实际也就是一个概念吧,能不能说出来,其实也不见得就能证明能力什么的,但这个问题如果答不上来,应该还是会让人家挺失望的。O(∩_∩)O哈哈~
当我们在web浏览器的地址栏中输入:www.baidu.com,具体发生了什么?
- 对 www.baidu.com 这个网址进行DNS域名解析,得到对应的IP地址
- 根据这个IP,找到对应的服务器,发起TCP的三次握手
- 建立TCP连接后, 发起HTTP请求
- 服务器响应HTTP请求,浏览器得到html代码
- 浏览器解析html代码,并请求html代码中的资源(如js、css、图片等)(先得到html代码,才能去找这些资源)
- 浏览器对页面进行渲染呈现给用户
- 服务过程完毕, 关闭TCP连接, 四次挥手
边栏推荐
- mysql
- 查询商品案例-页面渲染数据
- 网络安全-漏洞与木马
- In the face of difficult SQL requirements, HQL is not afraid
- Network security - virus
- PS remove watermark details
- [shutter] animation animation (animatedwidget animation use process | create animation controller | create animation | create animatedwidget animation component | animation operation)
- 网络安全-NAT网络地址转换
- Huakaiyun (Zhiyin) | virtual host: what is a virtual host
- Network security OpenVAS
猜你喜欢
mysql
How is the mask effect achieved in the LPL ban/pick selection stage?
In the face of difficult SQL requirements, HQL is not afraid
【Camera专题】Camera dtsi 完全解析
【Camera专题】OTP数据如何保存在自定义节点中
小程序开发的部分功能
Steps to obtain SSL certificate private key private key file
[error record] an error is reported in the fluent interface (no mediaquery widget ancestor found. | scaffold widgets require a mediaquery)
电信客户流失预测挑战赛
View of MySQL
随机推荐
[data mining] task 3: decision tree classification
[shutter] animation animation (animatedwidget animation use process | create animation controller | create animation | create animatedwidget animation component | animation operation)
Learn the five skills you need to master in cloud computing application development
[keil5 debugging] debug is stuck in reset_ Handler solution
[Appendix 6 Application of reflection] Application of reflection: dynamic agent
[data mining] task 2: mimic-iii data processing of medical database
网络安全-漏洞与木马
View of MySQL
leetcode刷题_两数之和 II - 输入有序数组
Huakaiyun | virtual host: IP, subnet mask, gateway, default gateway
Introduction to kotlin collaboration
Network security - man in the middle attack
疫情当头,作为Leader如何进行团队的管理?| 社区征文
Pytest learning notes (12) -allure feature · @allure Step () and allure attach
【数据挖掘】任务2:医学数据库MIMIC-III数据处理
"Jetpack - livedata parsing"
网络安全-病毒
VIM 9.0 is officially released! The execution speed of the new script can be increased by up to 100 times
PS去除水印详解
Network security NAT network address translation