Josh, I enabled LogLevel debug and below is the output from the error log:

-----------------------------------------------------
[Wed Nov 09 16:27:48 2005] [debug]
/home/gatekeeper/minfrin/rpm/BUILD/httpd-2.0.50/server/mpm/prefork/prefork.c(955):
AcceptMutex: sysvsem (default: sysvsem)
[Wed Nov 09 16:27:59 2005] [debug]
/home/gatekeeper/minfrin/rpm/BUILD/httpd-2.0.50/modules/experimental/mod_cache.c(157):
cache: no cache - add cache_in filter and DECLINE
[Wed Nov 09 16:27:59 2005] [debug]
/home/gatekeeper/minfrin/rpm/BUILD/httpd-2.0.50/modules/experimental/mod_cache.c(406):
cache: running CACHE_IN filter
[Wed Nov 09 16:27:59 2005] [debug]
/home/gatekeeper/minfrin/rpm/BUILD/httpd-2.0.50/modules/experimental/mod_cache.c(663):
cache: Caching url: /images/corp04/about_may.gif
[Wed Nov 09 16:27:59 2005] [debug]
/home/gatekeeper/minfrin/rpm/BUILD/httpd-2.0.50/modules/experimental/mod_cache.c(705):
cache: Added date header
[Wed Nov 09 16:27:59 2005] [info] mem_cache: Cached url:
www.mayco.com/images/corp04/about_may.gif?
[Wed Nov 09 16:27:59 2005] [debug]
/home/gatekeeper/minfrin/rpm/BUILD/httpd-2.0.50/modules/experimental/mod_cache.c(157):
cache: no cache - add cache_in filter and DECLINE

[Wed Nov 09 16:28:00 2005] [debug]
/home/gatekeeper/minfrin/rpm/BUILD/httpd-2.0.50/modules/experimental/mod_cache.c(157):
cache: no cache - add cache_in filter and DECLINE
[Wed Nov 09 16:28:00 2005] [debug]
/home/gatekeeper/minfrin/rpm/BUILD/httpd-2.0.50/modules/experimental/mod_cache.c(406):
cache: running CACHE_IN filter
[Wed Nov 09 16:28:00 2005] [debug]
/home/gatekeeper/minfrin/rpm/BUILD/httpd-2.0.50/modules/experimental/mod_cache.c(663):
cache: Caching url: /images/corp04/home_division_links.gif
[Wed Nov 09 16:28:00 2005] [debug]
/home/gatekeeper/minfrin/rpm/BUILD/httpd-2.0.50/modules/experimental/mod_cache.c(705):
cache: Added date header
[Wed Nov 09 16:28:00 2005] [info] mem_cache: Cached url:
www.mayco.com/images/corp04/home_division_links.gif?

And when the browser requests the images again.  I assume since I see age
values in the reply that these messages are just part of the debug information.
-----------------------------------------------------
[Wed Nov 09 16:29:15 2005] [debug]
/home/gatekeeper/minfrin/rpm/BUILD/httpd-2.0.50/modules/experimental/mod_cache.c(157):
cache: no cache - add cache_in filter and DECLINE
[Wed Nov 09 16:29:16 2005] [debug]
/home/gatekeeper/minfrin/rpm/BUILD/httpd-2.0.50/modules/experimental/mod_cache.c(157):
cache: no cache - add cache_in filter and DECLINE
[Wed Nov 09 16:29:16 2005] [debug]
/home/gatekeeper/minfrin/rpm/BUILD/httpd-2.0.50/modules/experimental/mod_cache.c(157):
cache: no cache - add cache_in filter and DECLINE
[Wed Nov 09 16:29:17 2005] [debug]
/home/gatekeeper/minfrin/rpm/BUILD/httpd-2.0.50/modules/experimental/mod_cache.c(157):
cache: no cache - add cache_in filter and DECLINE
[Wed Nov 09 16:29:17 2005] [debug]
/home/gatekeeper/minfrin/rpm/BUILD/httpd-2.0.50/modules/experimental/mod_cache.c(157):
cache: no cache - add cache_in filter and DECLINE
[Wed Nov 09 16:29:18 2005] [debug]
/home/gatekeeper/minfrin/rpm/BUILD/httpd-2.0.50/modules/experimental/mod_cache.c(157):
cache: no cache - add cache_in filter and DECLINE
[Wed Nov 09 16:29:18 2005] [debug]
/home/gatekeeper/minfrin/rpm/BUILD/httpd-2.0.50/modules/experimental/mod_cache.c(157):
cache: no cache - add cache_in filter and DECLINE
[Wed Nov 09 16:29:18 2005] [debug]
/home/gatekeeper/minfrin/rpm/BUILD/httpd-2.0.50/modules/experimental/mod_cache.c(157):
cache: no cache - add cache_in filter and DECLINE
[Wed Nov 09 16:29:18 2005] [debug]
/home/gatekeeper/minfrin/rpm/BUILD/httpd-2.0.50/modules/experimental/mod_cache.c(157):
cache: no cache - add cache_in filter and DECLINE
[Wed Nov 09 16:29:18 2005] [debug]
/home/gatekeeper/minfrin/rpm/BUILD/httpd-2.0.50/modules/experimental/mod_cache.c(157):
cache: no cache - add cache_in filter and DECLINE
-----------------------------------------------------

>From the access log.  The value for %{Age}o is in between "--> <--".  Is this
value age of the item in the cache?  Also some of the Age values are "_".  Does
this mean that they aren't being cached?


-----------------------------------------------------
--> 42 <---  10.1.192.213 www.mayco.com - [09/Nov/2005:16:32:49 -0600] "GET
/images/corp04/about_may_over.gif HTTP/1.1" 304 -
"http://www.mayco.com/common/index.html"; "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; .NET CLR 1.1.4322)""xportala=68.93.211.5.1106951324602418;
mdsc=68.93.211.5.1107210091138408; may=10.0.64.53.1109366232194316;
mayco=10.1.192.213.1130532590511892"
--> 42 <---  10.1.192.213 www.mayco.com - [09/Nov/2005:16:32:49 -0600] "GET
/images/corp04/about_may.gif HTTP/1.1" 304 -
"http://www.mayco.com/common/index.html"; "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; .NET CLR 1.1.4322)""xportala=68.93.211.5.1106951324602418;
mdsc=68.93.211.5.1107210091138408; may=10.0.64.53.1109366232194316;
mayco=10.1.192.213.1130532590511892"
--> 42 <---  10.1.192.213 www.mayco.com - [09/Nov/2005:16:32:50 -0600] "GET
/images/corp04/about_may_over.gif HTTP/1.1" 304 -
"http://www.mayco.com/common/index.html"; "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; .NET CLR 1.1.4322)""xportala=68.93.211.5.1106951324602418;
mdsc=68.93.211.5.1107210091138408; may=10.0.64.53.1109366232194316;
mayco=10.1.192.213.1130532590511892"
--> 43 <---  10.1.192.213 www.mayco.com - [09/Nov/2005:16:32:50 -0600] "GET
/images/corp04/about_may.gif HTTP/1.1" 304 -
"http://www.mayco.com/common/index.html"; "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; .NET CLR 1.1.4322)""xportala=68.93.211.5.1106951324602418;
mdsc=68.93.211.5.1107210091138408; may=10.0.64.53.1109366232194316;
mayco=10.1.192.213.1130532590511892"

--> - <---  10.1.192.213 www.mayco.com - [09/Nov/2005:17:10:28 -0600] "GET
/images/corp04/about_may_over.gif HTTP/1.1" 304 -
"http://www.mayco.com/common/index.html"; "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; .NET CLR 1.1.4322)""xportala=68.93.211.5.1106951324602418;
mdsc=68.93.211.5.1107210091138408; may=10.0.64.53.1109366232194316;
mayco=10.1.192.213.1130532590511892"
--> 2301 <---  10.1.192.213 www.mayco.com - [09/Nov/2005:17:10:29 -0600] "GET
/images/corp04/about_may.gif HTTP/1.1" 304 -
"http://www.mayco.com/common/index.html"; "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; .NET CLR 1.1.4322)""xportala=68.93.211.5.1106951324602418;
mdsc=68.93.211.5.1107210091138408; may=10.0.64.53.1109366232194316;
mayco=10.1.192.213.1130532590511892"
--> - <---  10.1.192.213 www.mayco.com - [09/Nov/2005:17:10:29 -0600] "GET
/images/corp04/about_may_over.gif HTTP/1.1" 304 -
"http://www.mayco.com/common/index.html"; "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; .NET CLR 1.1.4322)""xportala=68.93.211.5.1106951324602418;
mdsc=68.93.211.5.1107210091138408; may=10.0.64.53.1109366232194316;
mayco=10.1.192.213.1130532590511892"
--> 2302 <---  10.1.192.213 www.mayco.com - [09/Nov/2005:17:10:29 -0600] "GET
/images/corp04/about_may.gif HTTP/1.1" 304 -
"http://www.mayco.com/common/index.html"; "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; .NET CLR 1.1.4322)""xportala=68.93.211.5.1106951324602418;
mdsc=68.93.211.5.1107210091138408; may=10.0.64.53.1109366232194316;
mayco=10.1.192.213.1130532590511892"

-----------------------------------------------------


Thanks once again for your help.

Matthew

--- Joshua Slive <[EMAIL PROTECTED]> wrote:

> On 11/9/05, Matthew R. Hamilton <[EMAIL PROTECTED]> wrote:
> 
> > Is there anything out there that will help me verify cache hits and misses?
> 
> I thought I answered that:
> 
> > > Change LogLevel to debug and look in the error log to determine if
> > > mod_cache is active.  (You can also log the "Age" HTTP Response header
> > > in the access log to see what responses are cached).
> 
> When I use mod_cache, I add %{Age}o to my logformat.  Any request with
> the Age header has been served from the cache.
> 
> Joshua.
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>    "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to