只要在conf/context.xml里增加资源最大可缓存的大小就行了
-
<Context>
-
<WatchedResource>WEB-INF/web.xml </WatchedResource>
-
<WatchedResource>${catalina.base}/conf/web.xml </WatchedResource>
-
<Resources
-
cachingAllowed= "true"
-
cacheMaxSize= "102400"
-
/>
-
</Context>