httpd-users mailing list archives

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

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>

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

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?


Regards,

Tomasz Chmielewski


---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message