Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 99422 invoked from network); 24 Jan 2006 22:29:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Jan 2006 22:29:23 -0000 Received: (qmail 72346 invoked by uid 500); 24 Jan 2006 22:29:19 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 72328 invoked by uid 500); 24 Jan 2006 22:29:19 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 72311 invoked by uid 99); 24 Jan 2006 22:29:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jan 2006 14:29:18 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [82.195.155.60] (HELO dochas.stdlib.net) (82.195.155.60) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jan 2006 14:29:17 -0800 Received: from colmmacc by dochas.stdlib.net with local (Exim 4.50) id 1F1Wfs-0006uD-39 for dev@httpd.apache.org; Tue, 24 Jan 2006 22:30:04 +0000 Date: Tue, 24 Jan 2006 22:30:04 +0000 From: Colm MacCarthaigh To: dev@httpd.apache.org Subject: Re: struct cache_info docs Message-ID: <20060124223004.GA26461@dochas.stdlib.net> Reply-To: colm@stdlib.net References: <43D69CC3.90603@turner.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <43D69CC3.90603@turner.com> User-Agent: Mutt/1.5.9i X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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: colm+pgp@stdlib.net