You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Clark Cooper <Cl...@vc3.com> on 2002/03/13 22:21:33 UTC
cache only gif/jpeg files
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