当前位置:网站首页>What happens between entering the URL and displaying the page?
What happens between entering the URL and displaying the page?
2022-07-03 03:01:00 【Shazanen】
List of articles
1. The world wide web and HTTP agreement
web WWW It's a large-scale 、 An online information store / Data space ( written words 、 video 、 Audio ···), It is a collection of countless main web sites and pages . These resources need a unified resource locator to identify .
Uniform resource locator URL -> Unique identification -> resources ( written words 、 video 、 Audio ···)
URL General form :< agreement >://< host >:< port >/< route >
Users get resources by clicking on hyperlinks , These resources are transmitted through hypertext protocol HTTP Send to user .
The World Wide Web uses hypertext markup language HTML, It makes it easy for web page designers to link from one interface to another , And can be displayed on their own screen .
2. HTTP agreement ( Stateless )
HTTP The protocol defines the browser ( Web client process ) How to WWW Server request WWW file , And how the server delivers documents to the browser .
How users browse the page :
- Input URL
- Click hyperlink
Browser specific process :
Browser analysis URL
Browser direction DNS Request parsing IP Address
DNS It is concluded that IP Address ( See DNS System )
Browser and server setup TCP Connect
The browser sends out the command to fetch files
Server response
Release TCP Connect
Browser display ( The browser can download only the text part )
HTTP use TCP As a transport layer agreement , but HTTP The agreement itself is connectionless ( The two sides of the communication are exchanging HTTP There is no need to set up before sending a message HTTP Connect )
3. DNS System
root :.
Top-level domain name :
- National top level domain cn,us,uk
- Universal top level domain com,net,org,gov
- Infrastructure domain name / Reverse domain name arpa
Two level domain name : - Category domain name ac,com,edu,gov,net,org
- Domain name of Administrative Region Used in all provinces of China 、 Autonomous region 、 Municipalities directly under the central government bj,js
- Self registered domain name ( The only global )
Three level domain name :
pku.mail
Four level domain name …
Domain name server :
- Root domain server :( Manage all top-level domain names registered by the root server ):
- Top-level domain server ( Manage all secondary domain names registered by the top-level domain name server ):
- Domain name server ( Responsible for a zone domain name server ):
- Local domain name server : When a host sends DNS When querying a request , The query request message is sent to the local domain name server .
Domain name resolution process :
- recursive query ( Give it to others for inquiry )
The host requesting the query first checks the local domain name server , The local domain name server checks the root domain name server , Root domain name server to check the top-level domain name server , The top-level domain name server will find the permission domain name server , After finding it, the original path is returned to the host requesting the query - Combination of recursion and iteration ( Yes, there is. )( The first step is recursive query , Pass it to the local domain name server to query )
The host requesting the query first checks the local domain name server , Local domain name server Check the domain name server , The root domain name server told the local domain name server that the next step should be to check the top-level domain name server , The top-level domain name server told the local domain name server that the next step should be to check the permission domain name server , The authority domain name server returns the result to the local domain name server , The local domain name server then returns the result to the host requesting the query .
边栏推荐
- Classes and objects - initialization and cleanup of objects - constructor call rules
- SqlServer行转列PIVOT
- How to use asp Net MVC identity 2 change password authentication- How To Change Password Validation in ASP. Net MVC Identity 2?
- 2022-2028 global splicing display industry research and trend analysis report
- Introduction to cron expression
- Linear rectification function relu and its variants in deep learning activation function
- 【富瀚6630编码存录像,用rtsp服务器及时间戳同步实现vlc观看录像】
- What does it mean when lambda is not entered?
- MySql实战45讲【SQL查询和更新执行流程】
- The left value and the right finger explain better
猜你喜欢
I2C subsystem (I): I2C spec
Do you really understand relays?
[principles of multithreading and high concurrency: 1_cpu multi-level cache model]
The process of connecting MySQL with docker
The Linux server needs to install the agent software EPS (agent) database
Thunderbolt Chrome extension caused the data returned by the server JS parsing page data exception
[principles of multithreading and high concurrency: 1_cpu multi-level cache model]
Docker install MySQL
SqlServer行转列PIVOT
Kubernetes cluster log and efk architecture log scheme
随机推荐
用docker 连接mysql的过程
Are there any recommended term life insurance products? I want to buy a term life insurance.
C#通用接口调用
Opengauss database development and debugging tool guide
Three.js本地环境搭建
Add some hard dishes to the interview: how to improve throughput and timeliness in delayed task scenarios!
How to implement append in tensor
SqlServer行转列PIVOT
MySql实战45讲【索引】
tensor中的append应该如何实现
C语言中左值和右值的区别
Add automatic model generation function to hade
你真的懂继电器吗?
Strategy application of Dameng database
Kubernetes family container housekeeper pod online Q & A?
Deep Reinforcement Learning for Intelligent Transportation Systems: A Survey 论文阅读笔记
Kubernetes family container housekeeper pod online Q & A?
Cron表达式介绍
Tensorflow to pytorch notes; tf. gather_ Nd (x, y) to pytorch
docker安装redis