HTTP Requests

The process for requesting and receiving a web page (Wijesinge, 2017):

1. The URL is sent to a DNS (Domain Name Server) that provides the IP address of the site. The caches are checked first.

2. Browser opens TCP connection with the web server.

3. The server receives a HTTP GET request, serves back the requested resources and sends a HTTP response.

These HTTP requests happen each time a resource is requested – CSS file, JavaScript file, images, videos, sounds, etc. To minimise the load times it is prudent to limit the amount of requests made. My website is not the most optimised in this sense: I have multiple CSS files linked to every page due to changing the breakpoints for the different pages.

 

Mozilla Developer Network. (2017). HTTP request methods. [online] Available at: https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods [Accessed 5 Dec. 2017].

Wijesinge, M. (2017). What happens when you type an URL in the browser and press enter?. [online] Available at: https://medium.com/@maneesha.wijesinghe1/what-happens-when-you-type-an-url-in-the-browser-and-press-enter-bb0aa2449c1a [Accessed 22 Dec. 2017].


References

Please find all references here.

Leave a Reply