当前位置:网站首页>Please describe the whole process from entering a URL in the browser to rendering the page.
Please describe the whole process from entering a URL in the browser to rendering the page.
2022-06-22 20:02:00 【51CTO】
I believe many front-end programmers have encountered this problem during the interview , The first time I encountered this problem, I was ignorant , I was unprepared to talk nonsense , Naturally, the interview is cold , I have learned this piece recently , Make a record here ~
Overall process :

- If URL Contains domain names , The browser connects to DNS( Domain name server ), Find the domain name IP Address ;
- web The browser connects to the corresponding web The server , issue http request , What you want ;(TCP Three handshakes )
- web The server checks whether the requested resource exists , To be is to return , Returns if it does not exist 404;
- web The browser receives the resource and closes the connection ;(TCP Four waves )
- The browser parses the entire page , And check for other resources needed , Such as the picture ;
- Keep sending out http request , Request corresponding resources ;
- All resources requested , The page is completely displayed .
Key content
DNS:Domain Name Service Domain name service , Resolve the domain name to ip, This process involves CDN, I will learn in detail later CDN.
TCP/IP Overall process of the agreement :

application layer : Application specific protocols , Such as WWW、 E-mail 、FTP etc. .
TCP Transport control layer :Transmission Control Protocol Transport control layer protocol ,TCP It's connection-oriented , Reliable byte stream transport service .TCP Use the port number to direct packets to a specific application on the computer .
IP The network layer :Internet Protocol Network layer protocol ,IP It's an unreliable , No connection protocol .IP Pass the packet through IP Address transfer to the specified computer .
Hardware layer : Convert binary data into photoelectric signals .
边栏推荐
- 漫话Redis源码之一百一二十
- matlab调用API
- Matplotlib set axis scale interval
- Calendar control programming
- 【深入理解TcaplusDB技术】运维平台中实现TcaplusDB事务管理
- 年中大促 | 集成无忧,超值套餐 6 折起
- Georgia Institute of technology - coordinated coverage and tracking planning of multi UAV wildfire with service quality assurance
- Fibonacci search (golden section)
- Definitions and terms of drawings
- Array objects can be compared one by one (the original data with the same index and ID will be retained, and the data not in the original array will be added from the default list)
猜你喜欢

关键路径

Nrf51822 peripheral learning

Some problem records of openpnp using process

Yarn notes

Definitions and terms of drawings

Compilation error: /usr/bin/ld: /usr/local/lib/libgflags a(gflags.cc.o): relocation R_ X86_ 64_ 32S against `. rodata‘

2. what is mechanical design?

Focal and global knowledge distillation for detectors

0816 shortcomings of Feida (improvement direction)

1.3----- simple setting of 3D slicing software
随机推荐
区间检索SQL性能优化方法
#夏日挑战赛# 【FFH】从零开始的鸿蒙机器学习之旅-NLP情感分析
【深入理解TcaplusDB技术】TcaplusDB机器如何下架
Velocity 语法
Mysql database knowledge points (III)
图的存储结构(邻接矩阵)
Georgia Institute of technology - coordinated coverage and tracking planning of multi UAV wildfire with service quality assurance
谷歌| ICML 2022: 深度强化学习中的稀疏训练状态
delegate
生产系统SQL执行计划突然变差怎么办?
[in depth understanding of tcapulusdb technology] how to take tcapulusdb off the shelf
Take the file name in the zip package
Implementation of balanced binary tree with C language
.Net 5.0 通过IdentityServer4实现单点登录之oidc认证部分源码解析
Topological sorting
Geometrical product specifications (GPS) - ISO code system for linear dimensional tolerances
Antd tree tree tree selector subclass required
[compréhension approfondie de la technologie tcaplusdb] exploitation et entretien de tcaplusdb - inspection quotidienne des patrouilles
Search, insert and delete of binary sort tree
[deeply understand tcapulusdb technology] cluster management operation