From: Ian Holsman Date: Wed, 25 Jan 2006 04:03:31 +0000 (+0000) Subject: add Colm's explanation of the cache_info structure from his explaination on dev@ X-Git-Tag: 2.3.0~2574 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=314aa8e9c9db120059b03f9e8070fa1c1ce1c002;p=apache add Colm's explanation of the cache_info structure from his explaination on dev@ Message-ID: <20060124223004.GA26461@dochas.stdlib.net> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@372096 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/cache/mod_cache.h b/modules/cache/mod_cache.h index 2ac47dd2bf..9f0776c664 100644 --- a/modules/cache/mod_cache.h +++ b/modules/cache/mod_cache.h @@ -159,10 +159,21 @@ typedef struct { /* cache info information */ typedef struct cache_info cache_info; struct cache_info { - int status; - apr_time_t date; + /** + * HTTP status code of the cached entity. Though not neccessarily the + * status code finally issued to the request. + */ + int status; + /** + * the original time corresponding to the 'Date:' header of the request + * served + */ + apr_time_t date; + /** a time when the cached entity is due to expire */ apr_time_t expire; + /** r->request_time from the same request */ apr_time_t request_time; + /** apr_time_now() at the time the entity was acutally cached */ apr_time_t response_time; };