How to disable cache in tomcat 8.0.23? -
how can disable static-file cache in tomcat 8.0.23?
my app.nocache.js
file created gwt being cached tomcat. anytime recompile, tomcat serving old version of file.
i happy disable tomcat's cache file containing "nocache" in it's name. disabling tomcat's cache well.
i have tried:
<resources cachingallowed="false" cachemaxsize="0" />
in web-inf/context.xml
file, or:
<context cachingallowed="false" cachemaxsize="0">
...but neither of these attempts have succeeded in disabling cache.
sorry answer late, may can other people. found in guide migrating tomcat 7 tomcat 8 should insert cachingallowed , cachemaxsize properties in resources tag has nested in context tag. missed nest it? link official guide: https://tomcat.apache.org/migration-8.html
to me has worked. did dspace installation
<context docbase="/my/path/to/xmlui" reloadable="true"> <resources cachingallowed="false" /> </context>
hope somebody
Comments
Post a Comment