Tag: performance
HTTP/2 Server Push & Early Hints
HTTP/2 Server Push lets a server proactively send assets (CSS, JS, fonts) before the browser requests them. 103 Early Hints is its practical successor — sending Link preload headers before the full response is ready.
2mo ago
networking intermediate
How CDNs Work
1
CDNs use Anycast routing and distributed edge PoPs to serve content from the nearest location — reducing latency from 300ms to 5ms for cached responses.
3mo ago
networking intermediate
HTTP Request-Response Cycle
The complete lifecycle of an HTTP request — DNS resolution, TCP connection, TLS handshake, request transmission, server processing, and response delivery.
3mo ago
networking intermediate
HTTP/3 & QUIC
HTTP/3 runs over QUIC (UDP-based) instead of TCP — eliminating head-of-line blocking, reducing connection setup time, and improving performance on lossy networks.
3mo ago
performance advanced
A data structure that maps keys to values using a hash function, providing amortised O(1) average-case lookups, insertions, and deletions.
3mo ago
data_structures intermediate
HTTP Caching (ETags, Cache-Control)
Standard HTTP headers that instruct browsers and intermediary caches on how long to cache responses and when to revalidate.
3mo ago
performance intermediate
HTTP/2 & HTTP/3
Modern HTTP protocol versions that deliver significant performance gains via multiplexing, header compression, and (HTTP/3) UDP transport.
3mo ago
performance intermediate