Re: 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]

 



On Mon, May 10, 2010 at 6:37 PM, Geoff Millikan <gmillikan@xxxxxxxxxxxxx> wrote:
>> 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."

It later talks about times when you might want to set them to
different values, so I wouldn't interpret "either" as not allowing
both.

>> 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?

It's been like that in mod_expires for more than 10 years, perhaps
there were clients that knew Cache-Control but not Expires (and 1.0
clients that have the other side)

-- 
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[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