Professional Documents
Culture Documents
What Is HTTP?
What Is HTTP?
What Is HTTP?
What is HTTP?
HTTP, or Hypertext Transfer Protocol, is the foundation of data
communication on the World Wide Web. It is the standard protocol that
enables web browsers to request and receive content from web servers
across the internet.
World Wide Web Communication:
The World Wide Web is about communication between web clients and web
servers.
Clients are often browsers (Chrome, Edge, Safari), but they can be any type of
program or device.
Servers are most often computers in the cloud.
HTTP Versions:
1. HTTP/1.0: The original version of the HTTP protocol, released in 1996.
It provided the basic functionality for web browsing, but lacked features
like persistent connections and caching.
2. HTTP/1.1: Released in 1997, this updated version introduced many
improvements like persistent connections, better caching, and host
headers to support multiple websites on a single IP address.
3. HTTP/2: Launched in 2015, HTTP/2 brought major performance
enhancements through features like header compression, server push,
and multiplexing of requests over a single connection.
Advantages and Disadvantages of HTTP
Advantages:
➨It offers lower CPU and memory usage due to less simultaneous
connections.
➨It offers reduced network congestion as there are fewer TCP connections.
➨Handshaking is done at the initial connection establishment stage. Hence it
offers reduced latency in subsequent requests as there is no handshaking.
▶ Stateless: The client and server are aware of each other during a
current request only. Afterwards, both of them forget each other. Due to
the stateless nature of protocol, neither the client nor the server can
retain the information about different request across the web pages.
▶ Connectionless : It is a connectionless approach in which HTTP client
i.e., a browser initiates the HTTP request and after the request is sent
the client disconnects from server and waits for the response.