다른 블로그의 유용한 글

브라우저에서 url을 입력하면 벌어지는 일

Neda 2023. 1. 9. 00:47

제목: What happens when you type a URL in the browser and press enter?

출처:

 

What happens when you type a URL in the browser and press enter?

If you are in any technical profession, I am sure someone at some point has asked you this question. Whether you are an engineer…

medium.com

요약:

1. You type maps.google.com into the address bar of your browser.

2. The browser checks the cache for a DNS record to find the corresponding IP address of maps.google.com.

3. If the requested URL is not in the cache, ISP’s DNS server initiates a DNS query to find the IP address of the server that hosts maps.google.com.

4. The browser initiates a TCP connection with the server.

5. The browser sends an HTTP request to the webserver.

6. The server handles the request and sends back a response.

7. The server sends out an HTTP response.

8. The browser displays the HTML content (for HTML responses, which is the most common).

 

'다른 블로그의 유용한 글' 카테고리의 다른 글

자바스크립트에서의 나쁜 습관  (0) 2023.01.08