在Tomcat部署路径下的./conf/context.xml配置文件的标签内添加如下内容:
powershell
<Resources cachingAllowed="true" cacheMaxSize="100000" />

在Tomcat部署路径下的./conf/context.xml配置文件的标签内添加如下内容:
<Resources cachingAllowed="true" cacheMaxSize="100000" />