commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: Mod_cache for static content
Date Sat, 06 Dec 2008 02:02:01 GMT
You might consider a dedicated cache like varnish or squid. They make  
it very easy to factor out this kind of configuration.

Sent from my iPhone

On Dec 5, 2008, at 16:46, mummana <srinivasarao.mummana@wipro.com>  
wrote:

>
> I want to use the mod_cache ONLY for the static files. When I use  
> the below
> configurations, it is caching all the files. I want to cache only  
> static
> content ( like jpg,jpeg,js,css etc).
>
> # cache configurations
> CacheRoot /u/data/apache01
> CacheEnable disk /
> CacheDirLevels 5
> CacheDirLength 3
> # Cache the content 8 hours
> CacheMaxExpire 28800
>
> Please help me how to configure the mod_cache only for static files.
>
> Thanks
> Srini
>
>
> -- 
> View this message in context: http://www.nabble.com/Mod_cache-for-static-content-tp20865186p20865186.html
> Sent from the Commons - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message