当前位置:网站首页>浏览器是如何对页面进行渲染的呢?
浏览器是如何对页面进行渲染的呢?
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连接, 四次挥手
边栏推荐
- 【数据挖掘】任务5:K-means/DBSCAN聚类:双层正方形
- [AUTOSAR cantp] -2.11-uds diagnostic response frame data segment data padding data filling and data optimization data optimization (Theory + configuration)
- 【Camera专题】手把手撸一份驱动 到 点亮Camera
- 【Camera专题】Camera dtsi 完全解析
- Vant implements a simple login registration module and a personal user center
- 小程序开发的部分功能
- mysql
- ByteDance data Lake integration practice based on Hudi
- Some functions of applet development
- ¢ growth path and experience sharing of getting an offer
猜你喜欢
CF1617B Madoka and the Elegant Gift、CF1654C Alice and the Cake、 CF1696C Fishingprince Plays With Arr
[data mining] task 5: k-means/dbscan clustering: double square
Sweet talk generator, regular greeting email machine... Open source programmers pay too much for this Valentine's day
STM32 - switch of relay control lamp
The testing process that software testers should know
[technology development-23]: application of DSP in future converged networks
Huakaiyun (Zhiyin) | virtual host: what is a virtual host
查询商品案例-页面渲染数据
How is the mask effect achieved in the LPL ban/pick selection stage?
【Camera专题】OTP数据如何保存在自定义节点中
随机推荐
[camera topic] turn a drive to light up the camera
Network security - Trojan horse
[North Asia data recovery] data recovery case of raid crash caused by hard disk disconnection during data synchronization of hot spare disk of RAID5 disk array
Reprint some Qt development experience written by great Xia 6.5
网络安全-破解系统密码
网络安全-最简单的病毒
[QT] encapsulation of custom controls
网络安全-ACL访问控制列表
word插入公式/endnote
网络安全-中间人攻击
Network security - phishing
STM32 - GPIO input / output mode
【Camera专题】手把手撸一份驱动 到 点亮Camera
【Camera专题】OTP数据如何保存在自定义节点中
查询商品案例-页面渲染数据
网络安全-DNS欺骗与钓鱼网站
[技术发展-23]:DSP在未来融合网络中的应用
When the epidemic comes, how to manage the team as a leader| Community essay solicitation
Vant implements a simple login registration module and a personal user center
Main features of transport layer TCP and TCP connection