httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clark Cooper <Clark.Coo...@vc3.com>
Subject cache only gif/jpeg files
Date Wed, 13 Mar 2002 21:21:33 GMT
I am running Apache 1.3.12 and would like to know if there is a way to
only cache image files such as .gif and .jpeg files while not enabling
cache for everything else.    My thoughts are along the lines of the
following:
 
<FilesMatch "\.(gif|jpe?g|png)$">
    CacheRoot /usr/apache/cache/proxy
    CacheSize 1024000
    CacheGcInterval 1
</FilesMatch>
 
 NoCache *
 
Will the above do as I hope or will the "NoCache *" override and disable
even the caching directives within FilesMatch?
 
Thank you,
Clark Cooper

Mime
View raw message