How does the browser / server work together to display the html page?

I ask this question a lot = /

But I only know how to answer it at a very high level.

From the minute a user enters a URL and gets into it, what happens on the client and server side, and how do requests / responses work? How does the server interact with CGI / interpreters?

It would also be helpful if you could direct me to a URL that contains this information, or if you can respond to it.

When I describe this to people, I always feel that they are looking for specifics, and I do not give enough details.

Thank!

+3
source share
3 answers
  • ( HTTP GET)
  • REQUEST-HEADER URL-, .
  • , , - URL . - , Microsoft IIS, , "www.domain.com" REQUEST.
  • - (HTML ) , RESPONSE + HTTP (, 200: , , 404 " " )
  • () RESPONSE . , ( HTML ), .

" ", , .

, , . cookie , , , "" , , .

+3

( IP DNS).

(, Apache) CGI, .

, .

+1

Source: https://habr.com/ru/post/1773162/


All Articles