Expires: Absolute date when the response becomes stale. Cache-Control max-age is preferred. Expires tells caches the exact date and time a response becomes stale, such as Expires: Thu, 16 May 2026 12:00:00 GMT. Until then, a browser may reuse its copy without asking the server. It is an older header from HTTP/1.0. Cache-Control: max-age=3600 does the same job more reliably, because it is relative to when the response was received and does not depend on the server and client clocks agreeing.
When both are present, Cache-Control wins. You still see Expires on many sites because some servers set it by default. It is harmless next to a correct Cache-Control, but if you are configuring caching yourself, Cache-Control is the one to focus on. Some setups send Expires: 0 to mean the response must not be cached.
Use when reviewing or setting HTTP response headers for a web app or API - security headers (Content-Security-Policy, Strict-Transport-Security, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy), CORS headers, caching headers (Cache-Control, ETag, Last-Modified, Vary) and cookies (Set-Cookie flags). Also use when a security scan reports missing headers.
'Expert-level browser automation, debugging, and performance analysis using Chrome DevTools MCP. Use for interacting with web pages, capturing screenshots, analyzing network traffic, and profiling performance.'
Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.