Web Servers on Unix and Linux - improving the multimedia delivery with mod_mem_cache/mod_disk_cache?

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Unix and Linux > November 2005 > improving the multimedia delivery with mod_mem_cache/mod_disk_cache?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author improving the multimedia delivery with mod_mem_cache/mod_disk_cache?
Crazy Serb

2005-11-09, 5: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?

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com