open class ContentVersionStrategy : AbstractFileNameVersionStrategy
A VersionStrategy
that calculates an Hex MD5 hashes from the content of the resource and appends it to the file name, e.g. "styles/main-e36d2e05253c6c7085a91522ce43a0b4.css"
.
Author
Rossen Stoyanchev
Author
Brian Clozel
Since
5.0
See Also
VersionResourceResolver
ContentVersionStrategy()
A |
open fun getResourceVersion(resource: Resource): Mono<String> |
open fun addVersion(requestPath: String, version: String): String |
|
open fun extractVersion(requestPath: String): String |
|
open fun removeVersion(requestPath: String, version: String): String |