www-modproxy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@covalent.net
Subject Cache filters.
Date Fri, 17 Nov 2000 18:23:05 GMT

So, I had a brief bit of insight last night, and I re-worked the cache
module a bit.  Here's what I have now.  :-)

I have two modules, mod_cache and mod_disk_cache.  Mod_cache is a very
light-weight module that basically just calls into other caching
modules.  In the future, this module will need some extra logic to deal
with garbage collection and to hopefully combine common code.  Right now,
it is just a wrapper.

Mod_disk_cache is the more interesting of the two modules.  This actually
caches the file, and serves files from the cache.  The current
architecture allows the same server to also have mmap caches or shmem
caches, and even to allow for fall-over.  So, if something is in the shmem
cache, and it is about to be garbage collected, but the cache is still
valid for another twenty minutes, then we could just move it to the disk
cache.

The current bugs and plan:

The only bug right now, is that when serving pages out of the cache, we
serve the headers twice.

As soon as I fix that bug, this will be committed to the experimental
directory.

Ryan


_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------



Mime
View raw message