A web page consists of objects, each of which can be stored on different web servers.

A web page consists of a base HTML file which includes several referenced objects, each addressable by a URL.

HTTP

Hypertext transfer protocol (HTTP) is the web’s application-layer protocol.

HTTP follows client/server model:

image.png

HTTP uses TCP for transport service. The lifecycle of an interaction is as follows:

HTTP is stateless ⇒ server maintains no information about past client requests.

There are 2 kinds of HTTP connections: