Referred Link - https://www.linkedin.com/posts/brijpandeyji_the-journey-of-a-web-page-from-request-to-activity-7185350123529342976-Oy8T/
The Journey of a Web Page: From Request to Render
๐ฌ๐ผ๐๐ฟ ๐๐ฟ๐ผ๐๐๐ฒ๐ฟ'๐ ๐ฅ๐ผ๐น๐ฒ:
1. ๐๐๐๐ฎ๐ฏ๐น๐ถ๐๐ต๐ถ๐ป๐ด ๐ฎ ๐๐ผ๐ป๐ป๐ฒ๐ฐ๐๐ถ๐ผ๐ป: Your browser initiates communication by sending a connection request to the website's server.
2. ๐ฅ๐ฒ๐พ๐๐ฒ๐๐๐ถ๐ป๐ด ๐๐ต๐ฒ ๐ฃ๐ฎ๐ด๐ฒ: Once connected, your browser sends an HTTP request for the specific page you want to access.
3. ๐ฃ๐ฟ๐ฒ๐ฝ๐ฎ๐ฟ๐ถ๐ป๐ด ๐๐ผ ๐ฅ๐ฒ๐ป๐ฑ๐ฒ๐ฟ: The browser's engine prepares to process the incoming data and manage the page loading.
๐๐ผ๐ฐ๐ฎ๐๐ถ๐ป๐ด ๐๐ต๐ฒ ๐ช๐ฒ๐ฏ๐๐ถ๐๐ฒ:
1. ๐ฆ๐๐ฎ๐ฟ๐๐ถ๐ป๐ด ๐๐ต๐ฒ ๐ฆ๐ฒ๐ฎ๐ฟ๐ฐ๐ต: The browser begins its search for the website at the domain name system (DNS) level.
2. ๐ก๐ฎ๐ฟ๐ฟ๐ผ๐๐ถ๐ป๐ด ๐๐ต๐ฒ ๐ฆ๐ฐ๐ผ๐ฝ๐ฒ: The search narrows down to the specific DNS record containing the website's name.
3. ๐ฅ๐ฒ๐๐ฟ๐ถ๐ฒ๐๐ถ๐ป๐ด ๐๐ต๐ฒ ๐๐ฑ๐ฑ๐ฟ๐ฒ๐๐: The browser retrieves the website's IP address, enabling a direct request.
๐ง๐ต๐ฒ ๐ช๐ฒ๐ฏ๐๐ถ๐๐ฒ'๐ ๐ฅ๐ฒ๐๐ฝ๐ผ๐ป๐๐ฒ:
1. ๐ฆ๐๐ฎ๐๐๐ ๐จ๐ฝ๐ฑ๐ฎ๐๐ฒ๐: The website responds with status codes, providing updates on the request's progress:
- 1xx: Preparation stages
- 2xx: Success! The page is being sent
- 3xx: Redirection to another URL
- 4xx: Client-side error (e.g., 404 Not Found)
- 5xx: Server-side error
๐๐๐ถ๐น๐ฑ๐ถ๐ป๐ด ๐๐ต๐ฒ ๐ช๐ฒ๐ฏ ๐ฃ๐ฎ๐ด๐ฒ:
1. ๐ฆ๐๐ฟ๐๐ฐ๐๐๐ฟ๐ฎ๐น ๐๐ผ๐๐ป๐ฑ๐ฎ๐๐ถ๐ผ๐ป: The browser starts by processing the HTML code to establish the page's basic structure.
2. ๐ฉ๐ถ๐๐๐ฎ๐น ๐ฆ๐๐๐น๐ถ๐ป๐ด: Next, it interprets the CSS code, which determines the page's appearance.
3. ๐๐ผ๐ป๐๐ฒ๐ป๐ ๐๐ป๐๐ฒ๐ด๐ฟ๐ฎ๐๐ถ๐ผ๐ป: The browser combines HTML, CSS, and JavaScript (for interactivity) to fully assemble the page.
4. ๐๐ถ๐ป๐ฎ๐น ๐ฅ๐ฒ๐ป๐ฑ๐ฒ๐ฟ๐ถ๐ป๐ด: Lastly, it calculates the layout and renders the page on your screen.
This simplified overview captures the essence of web page loading, a complex process we often take for granted.
Tags:
#WebPageJourney
No comments:
Post a Comment