Using resource cache and versioning with Spring XML Configuration

<mvc:resources mapping="/resources/**" location="/resources/"> <mvc:resource-chain resource-cache="false" auto-registration="true"> <mvc:resolvers> <mvc:version-resolver> <mvc:content-version-strategy patterns="/**" /> </mvc:version-resolver> </mvc:resolvers> </mvc:resource-chain> </mvc:resources>

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.