open class AppCacheManifestTransformer : ResourceTransformerSupport
A ResourceTransformer HTML5 AppCache manifests.
This transformer:
ResourceResolver strategies All files with an ".appcache" file extension (or the extension given to the constructor) will be transformed by this class. The hash is computed using the content of the appcache manifest so that changes in the manifest should invalidate the browser cache. This should also work with changes in referenced resources whose links are also versioned.
Author
Rossen Stoyanchev
Author
Brian Clozel
Since
5.0
See Also
<a href="https://html.spec.whatwg.org/multipage/browsers.html#offline">HTML5 offline applications spec</a>
AppCacheManifestTransformer()
Create an AppCacheResourceTransformer that transforms files with extension ".appcache". AppCacheManifestTransformer(fileExtension: String)
Create an AppCacheResourceTransformer that transforms files with the extension given as a parameter. |
open fun transform(exchange: ServerWebExchange, inputResource: Resource, chain: ResourceTransformerChain): Mono<Resource> |