mod_expire sends incorrect max-age when using mtime
|Missing in 1.5.x:|
mod_expire sets Cache-Control: max-age= to the configured interval, and not to the actual stamp.
According to rfc2616, max-age overrides Expires:, and in effect the 'modification' directive turns to 'access'
All tested browsers (IE,Opera,FF,Chrome) comply with the RFC.
Discovered while trying to serve images that change 4 times/day at known moments.
The attached patch shoudt fix this.
Also available in: Atom