close

Filter

loading table of contents...

Deployment Manual / Version 2107

Table Of Contents

4.3.5 Headless Server Cache Control Properties

caas.cache-control.for-url-pattern
Type java.util.Map<java.lang.String,org.springframework.boot.autoconfigure.web.ResourceProperties$Cache$Cachecontrol>
Default  
Description

Map of cache control configuration objects for Http cache control Header. The configuration is URL pattern specific. A negative configured 'max-age' value disables cache control for the URL pattern. Values must not be higher than 31536000 (365 days in seconds).

caas.cache-control.s-max-age-factor
Type java.lang.Double
Default 0
Description

This value is used to compute a s-maxage header in relation to the max-age value. If the value is 0.0 then the s-maxage value is not automatically adjusted. In particular this means the s-maxage value isn't written in a cache-control header unless it was otherwise configured, for example with:

  caas.cache-control.for-url-pattern[/example/**].s-max-age=1m 

But please note, a value other than 0.0 takes precedence over a static configured value. Then s-maxage takes the value of max-age * sMaxAgeFactor.

caas.cache-control.url-path.remove-semicolon-content
Type java.lang.Boolean
Default true
Description

Set if everything after a ";" (semicolon) should be cut from the request URI for path matching. E.g. to see all matrix parameters of fragment urls this should be set to "false". Default is "true".

caas.cache-control.url-path.url-decode
Type java.lang.Boolean
Default true
Description

Set if the request URI should be decoded for path matching. Default is "true".

caas.cache-control.url-path.use-always-full-path
Type java.lang.Boolean
Default false
Description

Set if the full path within the current web application context is used for path matching. By default, this is set to "false" which means that the servlet path is cut off.

Table 4.18. Headless Server Cache Control Properties


Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.