httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomasz Chmielewski <>
Subject [users@httpd] how to check if the pages are served from cache?
Date Wed, 30 Jun 2004 14:21:10 GMT

I'm using Apache 2 as a forward proxy using these example settings:

ProxyRequests On
ProxyVia On
<IfModule mod_cache.c>
     <IfModule mod_disk_cache.c>
         CacheRoot /tmp/apache2
         CacheSize 100
         CacheEnable disk /
         CacheDirLevels 5
         CacheDirLength 3

     <IfModule mod_mem_cache.c>
         CacheEnable mem /
         MCacheSize 4096
         MCacheMaxObjectCount 100
         MCacheMinObjectSize 1
         MCacheMaxObjectSize 2048

How can I check in a logfile that a page was served from:
a) disk cache,
b) mem cache,
c) was downloaded and then served to a client?

I assume I need to do something with the logging, but what?


Tomasz Chmielewski

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message