httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Axel-St├ęphane SMORGRAV <>
Subject RE: [users@httpd] Mod_disk_cache| Struggling to configure
Date Fri, 02 Dec 2005 15:25:40 GMT
According to RFC 2616 section 13.9, if you want the response to a GET containing a query string
(arguments after a ?) to be cached, it MUST contain an explicit expiration date, i.e. an Expires
header. Setting ExpiresDefault won't make Apache cache such a response no matter what.

I am not sure that ExpiresActive will do any good either because the header will probably
be inserted AFTER mod_cache (or CACHE_IN) has made the decision NOT to cache.

[Wed Nov 30 09:04:30 2005] [debug] mod_cache.c(506): cache:
/images/map/Transport_icon_Air.gif not cached. Reason: HTTP Status 304 Not Modified

This is perfectly normal. Empty your browser's cache and try again. That will force an unconditional
request and the corresponding response will most probably be cached by Apache.


-----Original Message-----
From: Arindam Bhattacharjee [] 
Sent: Wednesday, November 30, 2005 5:52 AM
Subject: RE: [users@httpd] Mod_disk_cache| Struggling to configure

I am currently using apache 'httpd-2.0.52'. I can't change the version for some reasons. 

Tried to hit the application from another machine and a different browser. Tried to hit different
pages too. Still I am getting the same log pattern. Another pattern that I get, looks something
like : 

not cached. Reason: Query string present but no expires header.

Tried in conjunction with
ExpiresDefault "access plus 1 second" 
Just to see things caching but not of any help.

Any clues ? 

Arindam Bhattacharjee
Phone: +91.80.5104.7255

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message