httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] Apache disk cache debugging
Date Tue, 09 Oct 2007 17:21:39 GMT
On 10/9/07, Soumendu Bhattacharya <soumendu_bhattacharya@non.agilent.com> wrote:
>
>
>
> Hi,
>       I am using apache 2.2.4 with mod_cache along with mod_disk_cache ,
> mod_expires and mod_deflate enabled to cache and compress dynamic content
> served from jboss . I am trying to find a way by which I can debug/monitor
> the cache. I am already seeing disk cache being created and apparently it
> seems that my content is being served from cache (there is already a good
> improvement in response time). Is there any header or environment variable
> which gets set if a content is actually served from cache ? Any pointers to
> how to debug/monitor apache disk cache would be very useful. I have already
> tried enabling log level to debug and in error logs I am seeing the Cache
> filters ( but it doesn't let me know which exact file cache its referencing
> for a particular request). Htcacheclean is being used to cleanup/limit the
> cache.

Yes, the debugging output for mod_cache can be somewhat less than
perfectly clear.

But you can easily tell if a request was served from the cache through
the presence of the Age HTTP response header.

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: 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