当前位置:网站首页>浏览器是如何对页面进行渲染的呢?
浏览器是如何对页面进行渲染的呢?
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连接, 四次挥手
边栏推荐
- 网络安全-最简单的病毒
- Telecom Customer Churn Prediction challenge
- C language course information management system
- Network security - vulnerabilities and Trojans
- Network security - the simplest virus
- 疫情當頭,作為Leader如何進行團隊的管理?| 社區征文
- 【Camera专题】手把手撸一份驱动 到 点亮Camera
- PS remove watermark details
- 【数据挖掘】任务6:DBSCAN聚类
- Problems encountered in small program development of dark horse shopping mall
猜你喜欢
随机推荐
Cloud native topic sorting (to be updated)
网络安全-信息收集
View of MySQL
[camera special topic] Hal layer - brief analysis of addchannel and startchannel
[shutter] animation animation (basic process of shutter animation | create animation controller | create animation | set value listener | set state listener | use animation values in layout | animatio
传输层 TCP主要特点和TCP连接
【数据挖掘】任务5:K-means/DBSCAN聚类:双层正方形
GDB 在嵌入式中的相关概念
C language course information management system
STM32 - introduction of external interrupts exti and NVIC
[camera topic] how to save OTP data in user-defined nodes
Network security - dynamic routing protocol rip
String splicing function of MySQL
网络安全-扫描
How is the mask effect achieved in the LPL ban/pick selection stage?
Learn the five skills you need to master in cloud computing application development
SSL flood attack of DDoS attack
Network security - the simplest virus
Caused by: com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance o
网络安全-防火墙