蝌蚪-小毛驴
注册日期: Nov 2000
来自: 上海
帖子: 8,285
精华: 6
|
回复: Apache 设置web 缓存
ProxyPass /test/Images/ http://localhost:8080/test/Images/
ProxyPassReverse /test/Images/ http://localhost:8080/test/Images/
CacheEnable mem /test/Images/ <----用使用内存进行cache
CacheIgnoreNoLastMod On
CacheIgnoreCacheControl On
CacheDefaultExpire 60000
CacheMaxExpire 86400
CacheLastModifiedFactor 1
MCacheMaxStreamingBuffer 100000
MCacheSize 819200
MCacheMaxObjectCount 1400
MCacheMinObjectSize 100
MCacheMaxObjectSize 60000
|