How web pages work
Last updated
Was this helpful?
Last updated
Was this helpful?
The Internet is a global network of computer (and other devices) networks that can communicate between them through the TCP/IP protocol.
It is mainly used for accessing resources (and services) such as hypertext documents of the World Wide Web, electronic mail, various files, or data streams.
Given its high complexity global reach, it doesn't have a single centralized governance. This means that if a certain component (network or computer) becomes unavailable, the Internet as a whole doesn't collapse.
The World Wide Web, or The Web, is a colossal evergrowing collection of documents interconnected via the Internet, that are identifiable through Uniform Resource Locators (URLs, such as http://google.com/) and accessible through HTTP.
Stands for Hypertext Transfer Protocol and it is an application layer protocol, part of the TCP/IP suite and it is used by Web Servers to communicate to Web Browsers (and other client applications).
It has been initiated by Tim Berners-Lee in 1989, a moment called by many the beginning of the Internet.
HTTP follows a classical client-server model, with a client opening a connection to make a request, then waiting until it receives a response.
Web servers generate HTTP responses while Web browsers initiate HTTP requests and interpret HTTP responses.
HTTP/2, finalized in 2015, brought significant improvements to website performance and efficiency over its predecessor, HTTP/1.1. The key advancements include multiplexing, allowing multiple requests and responses to occur simultaneously over a single connection, and header compression, reducing overhead. It also introduced server push, enabling servers to proactively send resources to the client before they're even requested. These enhancements result in faster page load times, reduced latency, and better resource utilization.
DNS stands for Domain Name System and is basically a systemized way to label computers and other devices over the Internet or private networks making them identifiable via a Domain Name rather than through a unique IP address.
In reality, this interaction is a multi-step process as shown below:
Web pages are (basically) documents formatted with HTML and can be optionally packed with styling guides (CSS files), behavior (Javascript files), and multimedia (images, audio, video files).
FrontEnd refers to the source code (received as a plain answer from HTTP requests) which a browser can interpret.
BackEnd is the source code executed at a Web Server level, and cannot be accessed by the browser. It is typically used for generating HTTP responses, interacting with Databases or other Information Systems, and for performing various other logical tasks.