httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Stein <>
Subject Re: [users@httpd] Strange "expires" header
Date Mon, 11 Jun 2007 12:51:56 GMT
Allen Pulsifer wrote:
>> I'm still wondering why mod_cache sets the expires header (or 
>> some other 
>> parameter, that causes the headers to be set).
> Anything that goes in the cache has to have some expiration date--it can't
> just live forever.  The manual explains how its computed.

- And if the cache settings are wisely set, I guess it makes sense to 
put that time in an "Expires" header.. ;-)

>> And why GET and HEAD requests get different headers...
> That kinda makes sense.  If you aren't receiving the entity itself, then you
> have nothing to cache, so why should the origin server bother telling you
> when it expires?

It is an RFC 2626 requirement, that HEAD and GET returns the same 
headers ( 
The RFC mentions test purposes, and in this case, it would have been 
nice, if the requests had the same Expires header.



The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message