close

Filter

loading table of contents...

Deployment Manual / Version 2201

Table Of Contents

3.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.WebProperties$Resources$Cache$Cachecontrol>
Default  
Description

Map of cache control configuration objects for Http cache control Header. The configuration is URL pattern specific. For every URL the content validity dates are taken into account to compute the max-age value. A negative configured value disables cache control for the URL pattern. A configured positive value is taken as maximum value for the URL. Thus, if X is configured and Y is computed, then min(X,Y) is returned as max-age. 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 a recognized 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 3.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.