httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geoff Millikan" <>
Subject [users@httpd] mod_expires > Why are both the Expires and Cache-Control HTTP headers set?
Date Thu, 06 May 2010 14:13:09 GMT
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?


PS. It would be great if mod_expires had a Directive something like
"ExpiresHeader" where the syntax could be something like

View raw message