[COLUG] Apache mod_cache

Brian Miller bnmille at gmail.com
Mon Nov 19 09:09:47 EST 2007


On Sat, 2007-11-17 at 20:32 -0500, Travis Sidelinger wrote:

> The images are stored by another company for which we pay for.  I've 
> setup mod_proxy for these images and it works just fine.  Then I tried 
> to enable mod_disk_cache to cache the images on our server.  The images 
> never cache.  Numerous configurations and other web sites have been 
> tried.  Nothing is ever cached.  I've tried two different versions of 
> apache (2.0 and 2.2).  I've even ran apache through strace.  I can see 
> it trying to read from the disk cache, but it never writes any files to 
> the cache.  Thus, short of reading the source code I'm stumped as to why 
> this does not work.

Are you sure the other company doesn't have a "do not cache" marker on
their images?  If so, you need to configure your cache engine to ignore
such requests.  Most caching programs will honor such requests, as I
believe it violates the RFPs not to.






More information about the colug432 mailing list