httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henrik Nordstrom <>
Subject Re: Mod_cache expires check
Date Thu, 18 Jan 2007 11:49:50 GMT
tor 2007-01-18 klockan 12:05 +0100 skrev Plüm, Rüdiger, VF EITO:

> Just curious: Is the Unix epoch an invalid date in the Expires header
> (as this in the past it does not really matter for the question whether
> this document is expired or not as it would be in both cases)?

The RFC does not care for the UNIX epoch.

Any valid date which can be represented in the textual form is a valid
Expires header. And any Expires header you can not understand for
whatever reason is "already expired in the past".

To solve this there is Cache-Control max-age which is not sensitive to
the limits of your internal time representation, and which overrides
Expires if present.


View raw message