11-09-05 10:50 PM
Ok, I have a question... here is what I'm trying to accomplish:
1. Have Apache serve an HTML file to the client
2. Have Apache scan through the HTML to see what images (or possibly
other multimedia objects) it references
3. Based on those scans, have Apache load objects from disk cache into
memory cache
4. Several milliseconds later, when the client requests an image,
Apache serves it from the memory cache saving us microseconds in disk
access time
Is there any way to pull that off in Apache, through modules such as
mod_mem_cache or mod_disk_cache (without modifying the modules
directly) or something?
Or am I gonna have to dig into the modules themselves?
Or am I looking in a totally wrong direction to accomplish this?
I am just trying to cut down time it takes the server to cache and
deliver certain image files on a page served to the viewer, and I
thought that caching these into memory will cut down at least a bit of
time it takes to get them from the disk (or the disk cache). Then
again, there is the memory limit and how much information it can cache
itself, right?
[ Post a follow-up to this message ]
|