DELAPARRA
Index
Color
NL
Category: HTTP headers

Expires

Explained by Updated

What is Expires?

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.

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about Expires

What should you keep in mind with Expires?

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.

What does an example of Expires look like?

Expires: Thu, 16 May 2026 12:00:00 GMT

At a glance

CategoryHTTP headers
Explained by
Updated

More HTTP headers terms

All terms starting with E

Skills

Download all skills (zip)

Manuals

Related services

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.