;middot;middot;
It's not occupied, I've checked it. middot;middot;middot;middot;middot;middot; good and bad, sometimes for a couple of hours is OK, Sometimes the problem occurs after a two-minute reboot middot;middot;middot;middot;middot;Or a bad network? Software conflicts?
It's not occupied, I've checked it. middot;middot;middot;middot;middot;middot; good and bad, sometimes for a couple of hours is OK, Sometimes the problem occurs after a two-minute reboot middot;middot;middot;middot;middot;Or
What is the process description from the input URL to the completion of the page loading process
Browser to find the corresponding IP address of the domain name;
The browser establishes a socket connection to the server based on the IP address;
Browser communication with server: Browser request, server processing request;
The browser is disconnected from the server.
Find IP Address
When we enter www.cnblogs.com in the address bar of the browser, and then enter, enter to see what happened to the page?Domain name resolution--Initiates a TCP 3 handshake--initiates an HTTP request after the TCP connection is established--the server responds to the HTTP request, the browser gets the HTML code--the browser parses the HTML code, and requests the resources in the HTML code (such as JS, CSS ,
Referencehttp://igoro.com/archive/what-really-happens-when-you-navigate-to-a-url/Http://www.cnblogs.com/wenanry/archive/2010/02/25/1673368.htmlHttp://www.cnblogs.com/rollenholt/archive/2012/03/23/2414345.htmlOriginal: http://igoro.com/archive/what-really-happens-when-you-navigate-to-a-url/As a software developer, you w
, ignoring the students ' wishes and demands. Many students of the "university leadership" in front of students, a "official" appearance. They also do not care whether their graduates are unpopular with society, and do not care whether the design of disciplines is in line with the requirements of education and society. They only care about "how to keep the position", "How to get the benefit", how to "Buy and sell Diploma", How to "trade" with the soci
Original: http://igoro.com/archive/what-really-happens-when-you-navigate-to-a-url/As a software developer, you will certainly have a complete hierarchical understanding of how Web applications work, as well as the technologies used in these applications: browsers, http,html, Web servers, requirements processing, and so on.This article will be more in-depth study when you enter a URL, the background exactly
Original: http://igoro.com/archive/what-really-happens-when-you-navigate-to-a-url/As a software developer, you will certainly have a complete hierarchical understanding of how Web applications work, as well as the technologies used in these applications: browsers, http,html, Web servers, requirements processing, and so on.This article will be more in-depth study when you enter a URL, the background exactly
Original: http://igoro.com/archive/what-really-happens-when-you-navigate-to-a-url/As a software developer, you will certainly have a complete hierarchical understanding of how Web applications work, as well as the technologies used in these applications: browsers, http,html, Web servers, requirements processing, and so on.This article will be more in-depth study when you enter a URL, the background exactly
As a software developer, you will certainly have a complete hierarchical understanding of how Web applications work, as well as the technologies used in these applications: browsers, http,html, Web servers, requirements processing, and so on.This article will be more in-depth study when you enter a URL, the background exactly what happened to a thing ~ 1. First of all, you have to enter the URL in the browser:2. The browser finds the IP address of the
HTML reading. So the browser will find these domain names in DNS, send requests, redirect, etc...However, unlike dynamic pages, static files allow the browser to cache them. Some files may not need to be communicated to the server and read directly from the cache. The server's response contains the term information for static file retention, so the browser knows how long to cache them. Also, each response may contain an ETag header that works like a
Today's whim, what happens if the class name is the same as the object identifier declared by this class, and then it's tested. As follows:#include Normal compilation passes, and the result is normal. Think about this result is expected, because in the main function body in the beginning of the first encountered a, because the main local domain does not have a de
resolution, establish connection, send request, wait for response, receive data),From the domain name request in the first address bar, return the HTML DOM and parse it,To request Js,css, pictures and other static files, are the request loop again and again.HTML optimization1. Use HTML5 thin label2. Try putting CSS in the head, JS at the end of the body3. Compressed HTML to reduce the size of HTML textJS optimization1. Reduce the size of JS by subdiv
storage, fragmentation, night data updates, and so on.7. The server returns a 200 HTML request, and Content-encoding informs the browser that the body portion of the response is compressed by gzip.8, the browser began rendering HTML;9. The browser continues to send requests embedded in HTML. Images,css,js, and so on, each address is going through a process similar to the HTML page request, DNS lookup of the domain name, sending the request URL, follo
the resource that was returned by the server when it was last requested. The ETag and if-none-match work by adding etags information to the HTTP response. When the client requests the resource again, the If-none-match information (the value of the ETag) is added to the HTTP resquest, and if the server verifies that the etags of the resource has not changed (the resource has not changed), it will return a 304 state, or the server will return 200 status. and returns the resource and the new etags
form of a box model, which requires the browser to calculate its location and size, which is called relow (reflux);When the box model's position, size, and other attributes, such as color, font, etc. are determined, the browser begins to draw the content, a process called repain (redraw).When the document loading process encountered a JS file, the HTML document will suspend rendering (load resolution rendering synchronization) of the thread, not only to wait for the document JS file loading com
settings-outer chain style-inline style--html.C. Use the DOM and Cssom to build a rendering tree (rendering trees).The render tree and the DOM tree are a bit like, but there are differences.The DOM tree corresponds completely to the HTML tag one by one, but the render tree ignores elements that do not need to be rendered, such as head, Display:none elements, and so on.And each line in a large piece of text is a separate node in the render tree.Each node in the render tree is stored with the cor
Enter the URL in the browser what happens when you press the ENTER key[1] Parsing URLs[2] DNS queries, resolving domain names, resolving domain names to IP addresses[3] ARP broadcast, resolving MAC addresses based on IP address[4] respectively, from the application layer to the transport layer, the network layer and th
In the process of learning the front end, you often see the question: What happens when you enter a URL in a browser. The following is a summary of the individual learning process, for individuals to review the use, if there is an incorrect or insufficient understanding of the place I hope you point out.Let's start with a brain chart:What happens when you enter a
What happens if the Linux address is not ping?Problem: Today wrote a paid project, there is a class in the use of the HttpPost request, the address of the HTTP request is: Https://api.mch.weixin.qq.com/pay/unifiedorderFound in the normal use of the machine, in the Linux server log is returned java.net.UnknownHostException: api.mch.weixin.qq.comThe first thought is whether the server can normally access the
occur during the shutdown process.10. Slow start, congestion prevention and control during TCP data transmission11. Optimization method summarized from request interaction processEach of these points will be written in separate article mapping analysis, please look forward to. The content of the article refers to network resources, the HTTP authoritative guide, the Web Performance authoritative guide. Finally say the recent reading feeling,Know hardware to design better software, understand the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.