httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colm MacCarthaigh <>
Subject Re: struct cache_info docs
Date Tue, 24 Jan 2006 22:30:04 GMT
On Tue, Jan 24, 2006 at 04:31:47PM -0500, Brian Akins wrote:
> what are these supposed to be?
> struct cache_info {
>     int status;

the HTTP status code of the cached entity. Though not neccessarily the
status code finally issued to the request. e.g. 200 for the former,
possibly 302 for the latter.

>     apr_time_t date;

The original time corresponding the "Date:" header of the request served
when the entity was cached.

>     apr_time_t expire;

see lines 676 onwards of mod_cache.c, but basically a time when the
cached entity is due to expire.

>     apr_time_t request_time;

r->request_time from the same request.

>     apr_time_t response_time;

apr_time_now() at the time the entity was actually cached.

Hope that helps!

Colm MacCárthaigh                        Public Key:

View raw message