mod_expires > Why are both the Expires and Cache-Control HTTP headers set?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: smime.p7s
Description: S/MIME cryptographic signature


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux