how to disable tomcat caching? I use this -
<Context antiJARLocking="true" antiResourceLocking="true" cachingAllowed="false" cacheMaxSize ="0" cacheTTL="1">
in Tomcat/conf/context.xml
but it not helps
xml you can change the value of cachingAllowed by removing the flag. Remember to delete the cache folder after that. Apache Tomcat Configuration Reference.
Caching helps when you want to leverage files not being downloaded each time and serve it from cache.
Actual problem is antiResourceLocking="true"
.
Looks like there is a conflict with cachingAllowed="false"
.
I'm not sure what you're using, but in context.xml you can change the value of cachingAllowed
by removing the flag.
Remember to delete the cache folder after that.
Resources :
On the same topic :
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With