|
|||||||||||
|
Cache filters.
From: <rbb(at)covalent.net>
Date: Fri Nov 17 2000 - 13:23:05 EST 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.org406 29th St. San Francisco, CA 94131 Received on Fri Nov 17 18:22:05 2000 This archive was generated by hypermail 2.1.8 : Thu Aug 24 2006 - 14:53:14 EDT |
||||||||||
|
|||||||||||