You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by john doe <jo...@gmail.com> on 2005/06/14 05:00:19 UTC

[users@httpd] apache2: mod_cache: no X-Cache header

I just migrated from Apache 1.3 to Apache2 through Debian Sarge. I use
mod_proxy/mod_cache/mod_disk_cache for reverse proxying. To my
surprise, X-Cache is no longer being produced. Is this a supposed
behavior? How can one calculate hit/miss ratio then?

-jd

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


Re: [users@httpd] apache2: mod_cache: no X-Cache header

Posted by Joshua Slive <js...@gmail.com>.
On 6/13/05, john doe <jo...@gmail.com> wrote:
> I just migrated from Apache 1.3 to Apache2 through Debian Sarge. I use
> mod_proxy/mod_cache/mod_disk_cache for reverse proxying. To my
> surprise, X-Cache is no longer being produced. Is this a supposed
> behavior? How can one calculate hit/miss ratio then?

Use the rfc-standard Age header, which contains the number of seconds
since the last update-check if you hit the cache, and is not present
(log contains "-") if it was a cache-miss.

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