httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geoff Millikan" <gmilli...@t1shopper.com>
Subject RE: [users@httpd] mod_expires > Why are both the Expires and Cache-Control HTTP headers set?
Date Mon, 10 May 2010 22:37:53 GMT
<crickets chirping>

Is this the wrong forum for this question?

</crickets chirping>

> The HTTP spec linked below says, "Servers specify explicit 
> expiration times using *either* the Expires header, or
> the max-age directive of the Cache-Control header."
> 
> So why then does mod_expires set *both* the Expires HTTP 
> header *and* the max-age directive of the 
> Cache-Control HTTP header?  It's overkill to set
> both, right? 
> 
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13.2.1
> 
> http://httpd.apache.org/docs/2.2/mod/mod_expires.html
> 
> Thanks,
> 
> http://www.t1shopper.com/
> 
> PS. It would be great if mod_expires had a Directive something like
> "ExpiresHeader" where the syntax could be something like
> Expires|Cache-Control|All
> 

Mime
View raw message