Hi,
I have been trying to use mod_cache with drupal. I have Drupal cache disabled, because as others have expressed in the forum, I've never been able to have it working. It's just serving white pages to unlogged users.
Anyway: I've installed mod_cache, and done some tests with JMeter on the pages that are more visited.
JMeter is reporting better performances only in few cases.
So I had a look at the headers that Drupal is sending:
curl -I -L http://baravalle.it/ | more
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
HTTP/1.1 200 OK
Date: Tue, 06 Feb 2007 11:03:34 GMT
Server: Apache/2.0.52 (CentOS)
X-Powered-By: PHP/5.2.0
Set-Cookie: PHPSESSID=jh9kv8jfav0656jr5nud1codb6; expires=Thu, 01 Mar 2007 14:36
:54 GMT; path=/
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Last-Modified: Tue, 06 Feb 2007 11:03:34 GMT
Cache-Control: no-store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Content-Type: text/html; charset=utf-8
Drupal is senting "no-store, no-cache, must-revalidate" the first time, with the cookie. Not 100% sure if it would be the best idea ever. Anyway, if you start sending the cookie: