๐ŸŽ New User? Get 20% off your first purchase with code NEWUSER20 ยท โšก Instant download ยท ๐Ÿ”’ Secure checkout Register Now โ†’
Menu

Categories

Networking Beginner

What is HTTP Keep-Alive?

An HTTP mechanism that reuses a single TCP connection for multiple requests, reducing the overhead of establishing new connections.

HTTP Keep-Alive (persistent connections) allows multiple HTTP requests and responses to share a single TCP connection, eliminating the overhead of TCP handshakes and TLS negotiations for each request. In HTTP/1.1, connections are keep-alive by default (Connection: keep-alive header). Servers configure maximum requests per connection and idle timeout. Keep-alive significantly improves page load times for sites with many resources (images, CSS, JS files) โ€” each resource does not require a new connection. HTTP/2 extends this further with multiplexing (multiple concurrent requests on one connection). Web servers like Nginx configure keepalive_timeout and keepalive_requests directives.

Related Terms

WireGuard
A modern, lightweight VPN protocol that uses state-of-the-art cryptography and minimal code for fast, secure tunneling.
Network Topology
The physical or logical arrangement of nodes and connections in a computer network, such as star, mesh, ring, or bus configurations.
DNS over HTTPS (DoH)
A protocol that encrypts DNS queries by sending them over HTTPS, preventing eavesdropping and manipulation of DNS traffic.
TCP vs UDP
Two transport layer protocols: TCP provides reliable, ordered delivery while UDP provides fast, connectionless delivery without guarantees.
Network ACL
A set of rules that control inbound and outbound traffic at the subnet level, acting as a stateless firewall in cloud and enterprise networks.
Network Segmentation
The practice of dividing a network into isolated segments to improve security, performance, and management.
View All Networking Terms โ†’