]> granicus.if.org Git - apache/commit
mod_cache: Let Cache-Control max-age set the expiration of the cached
authorJustin Erenkrantz <jerenkrantz@apache.org>
Thu, 17 May 2007 18:25:13 +0000 (18:25 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Thu, 17 May 2007 18:25:13 +0000 (18:25 +0000)
commit1b7508dd219a9a3bfd925454ef5bd0bb79bc424f
tree871ba30f86fbc0648e47ec7527a41d96d6bd70ea
parentc795f75fea2166379ea41c961e56939e18b51901
mod_cache: Let Cache-Control max-age set the expiration of the cached
representation if Expires is not set.

* modules/cache/mod_cache.c
  (cache_save_filter): If Cache-Control max-age is set and Expires isn't,
  let that value control our expiration.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@539063 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/cache/mod_cache.c