httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject Re: Possible new cache architecture
Date Tue, 02 May 2006 23:09:03 GMT
Davi Arnaut wrote:

> Graham, what I want is to be able to write a mod_cache backend _without_
> having to worry about HTTP.

Then you will end up with code that does not meet the requirements of 
HTTP, and you will have wasted your time.

Please go through _all_ of the mod_cache architecture, and not just 
mod_disk_cache. Also read and understand HTTP/1.1 gateways and caches, 
and as you want to create a generic cache, read and understand mod_ldap, 
a module that will probably benefit from the availability of a generic 
cache. Then step back and see that mod_cache is a small part of a bigger 
picture. At this point you'll see that as nice as your idea of a simple 
generic cache interface is, it's not going to be the most elegant 
solution to the problem.

Regards,
Graham
--

Mime
View raw message