HTTP Caching
The set of headers that let a browser or intermediary reuse a previous response instead of re-fetching it.
HTTP Caching is the family of headers that let a browser, a CDN, or a proxy skip a request entirely, or skip its body, by reusing a response it already has. Cache-Control is the modern header doing most of the work: max-age sets how long a response is fresh without any revalidation at all, no-cache means always revalidate before using it (despite the name, it doesn't forbid caching), and no-store means never cache it at all — three genuinely different behaviors that a name like "no-cache" makes easy to mix up.
Once a cached response goes stale, the client doesn't necessarily re-download it — it can revalidate: ask the server "has this changed?" with a conditional request carrying an ETag or a last-modified date, and the server answers 304 Not Modified with no body if nothing changed, saving the bandwidth of the full response while still confirming freshness. This is the mechanism that makes aggressive caching safe: a max-age that expired doesn't mean a wasted round trip, just a cheap one.
Static-asset caching pushes this further by making the URL itself change whenever content does — a hash embedded in the filename (app.a3f9c1.js) — so the response can be cached with an effectively infinite max-age and no revalidation ever needed; a new deploy simply produces a new URL. That trick is what makes Preload and Prefetch and long-lived CDN caching viable together: the browser never has to ask whether a hashed-filename asset is stale, because a stale one is, by construction, a different file.
This layer is orthogonal to Cache Invalidation inside an application's own data layer — HTTP caching governs whether a response gets reused, application caching governs whether computed data does, and the two commonly disagree about what's fresh at the same moment.
See also7
Service Worker
A background script the browser runs between a page and the network, able to intercept requests even when no page is open.
Web Platform12 connections
Core Web Vitals
Google's small set of user-centered performance metrics: loading, interactivity, and visual stability.
Web Platform28 connections
Favicon
The tiny icon identifying a website in tabs, bookmarks, and search results, invented by Internet Explorer in 1999, now a set of sizes and formats, and once a surprising tracking channel.
Web Platform8 connections
Data URI
A URL that carries its content inside the address itself, used to embed small images in pages and stylesheets without a separate request, and abused for phishing until browsers restricted it.
Web Platform13 connections
Time to Live
A limit on how long something may live, counted in hops or seconds, which keeps lost packets from circling forever and tells caches when their copies go stale.
Networks & Distribution11 connections
Web Server
The program that listens for HTTP requests and answers them with files or generated pages, from the first one at CERN in 1990 through Apache's long dominance to event-driven servers built to hold many thousands of connections at once.
Web Platform10 connections
Back-Forward Cache
Browsers keeping a whole page frozen in memory when you navigate away, so pressing Back restores it instantly, unless something on the page makes it ineligible.
Web Platform10 connections
Linked from16
- Back-Forward CacheWeb Platform
Browsers keeping a whole page frozen in memory when you navigate away, so pressing Back restores it instantly, unless something on the page makes it ineligible.
- Content Delivery NetworkNetworks & Distribution
A CDN answers requests from servers near the requester, trading a single origin for many cached edges.
- Content Security PolicyWeb Platform
An HTTP header that tells the browser which sources of script, style, and other content a page is allowed to load.
- Cross-Origin Resource SharingWeb Platform
The mechanism by which a server opts in to letting scripts on other origins read its responses.
- Data URIWeb Platform
A URL that carries its content inside the address itself, used to embed small images in pages and stylesheets without a separate request, and abused for phishing until browsers restricted it.
- ETagWeb Platform
An opaque fingerprint of a response's content that lets a client ask a server whether it's changed without re-downloading it.
- FaviconWeb Platform
The tiny icon identifying a website in tabs, bookmarks, and search results, invented by Internet Explorer in 1999, now a set of sizes and formats, and once a surprising tracking channel.
- HTTP Status CodeWeb Platform
The three-digit number at the start of every HTTP response that tells the client, caches, crawlers and monitoring what happened, grouped into five classes by the first digit.
- HTTP2 and HTTP3Web Platform
Two successive rewrites of HTTP's transport layer, each solving the previous version's head-of-line blocking at a different layer.
- Preload and PrefetchWeb Platform
Two resource hints with opposite priorities — preload for what this page needs now, prefetch for what the next page might need.
- Progressive Web AppWeb Platform
A website that can be installed like a native app, launched from the home screen in its own window and used offline, built from a manifest, a service worker and HTTPS.
- Reverse ProxyNetworks & Distribution
A server that sits in front of other servers and receives clients' requests on their behalf, handling encryption, routing, caching, and protection in one place.
- Service WorkerWeb Platform
A background script the browser runs between a page and the network, able to intercept requests even when no page is open.
- Time to LiveNetworks & Distribution
A limit on how long something may live, counted in hops or seconds, which keeps lost packets from circling forever and tells caches when their copies go stale.
- Web AnalyticsWeb Platform
Measuring how people use a website, from parsing server logs to JavaScript page tags and Google's free Analytics, with metrics like pageviews and bounce rate that are distorted by bots, blockers, and consent rules and easy to optimize in the wrong direction.
- Web ServerWeb Platform
The program that listens for HTTP requests and answers them with files or generated pages, from the first one at CERN in 1990 through Apache's long dominance to event-driven servers built to hold many thousands of connections at once.