This commit is contained in:
Redkale
2016-08-08 10:48:46 +08:00
parent bf9098df86
commit 42e7ac298e
4 changed files with 22 additions and 6 deletions

View File

@@ -163,8 +163,9 @@
资源缓存的配置, 默认存在一个含默认属性的caches节点
limit: 资源缓存最大容量, 默认: 0, 为0表示不缓存 单位可以是B、K、M、G不区分大小写
lengthmax: 可缓存的文件大小上限, 默认: 1M超过1M的文件不会被缓存
watch: 是否监控缓存文件的变化, 默认不监控
-->
<caches limit="0M" lengthmax="1M" />
<cache limit="0M" lengthmax="1M" watch="false"/>
<!--
支持类似nginx中的rewrite 目前只支持静态资源对静态资源的跳转。
type: 匹配的类型, 目前只支持location(匹配requestURI), 默认: location