httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <>
Subject Re: mod_disk_cache and mod_include bugs and suggestions
Date Mon, 15 Jan 2007 17:05:29 GMT
Giuliano Gavazzi wrote:

> I have found that mod_disk_cache is definitely not compatible with 
> mod_include when the SSI pages contain something like <!--#exec 
> cmd="./" --> (or even an include virtual that points to a cgi).

This isn't so much a cache problem, but rather a problem with the SSI stuff.

The cache is a standard RFC2616 compliant cache (or at least it tries to 
be), but in order to do so effectively, it needs the cooperation of the 
content itself.

In order for caches to work, the Last-Modified or ETag headers need to 
be set correctly on the content, and this isn't always the case. When 
this happens, content isn't cached.

Another module with this problem is the mod_dir directory index 
generator, which also isn't cacheable for the same reasons SSI aren't.


View raw message