Preventing caching of static resources in Spring MVC legacy projects using XML config

1 · Sunit Katkar · April 26, 2016, 6:05 a.m.
.prettyprint ol.linenums>li { list-style-type: decimal; ! important } Update (11 Sep 2018)For Spring Boot 2, an updated version is available hereDo read this post first to understand how Spring handles resource url encoding and then proceed to the updated version.Resource cachingBrowsers typically cache static resources like javascript, css and image files. This is good as your app loads faster after the initial download of such resources. The next time around, if the resources have not ch...