Hi,

I recently noticed that Tomcat 8.0.5 does not invalidate cache entries for web resources.

Here are the steps to reproduce:

1. make "/foo.html" available through a jar file -> META-INF/resources/foo.html

2. Open foo.html in your browser

3. Add a new file "foo.html" inside you webapp directory with different content.

4. Refresh foo.html in your browser.

One would expect to see the content of the file that was added in step 3. But Tomcat caches the URL it resolved in step 2 and sticks to it forever. This is new in Tomcat 8.

I would prefer that Tomcat always check the current webapp directory and uses it cache only for the *.jar files.

kind regards,

Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to