You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Tomasz Chmielewski <ma...@interia.pl> on 2004/06/30 16:21:10 UTC

[users@httpd] how to check if the pages are served from cache?

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