You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Geoff Millikan <gm...@t1shopper.com> on 2011/04/23 22:42:43 UTC

[users@httpd] mod_expires > Stop setting the Age header?

After researching let me write note to self: Apache doesn't let me unset the Age header using "Header unset Age" as a global config
because even though it would appear to be waste of overhead to calculate it, and a waste of bandwidth to send it, RFC2616 requires
it because I'm using mod_disk_cache.

"An HTTP/1.1 server that includes a cache MUST include an Age header field in every response generated from its own cache."
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.6 

Good work Apache for enforcing the spec!

Thanks,

http://www.t1shopper.com/



---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org