Map of initial cache control configuration objects for Http cache
control Header. See WebProperties.Resources.Cache.Cachecontrol for
further details. The configuration is type specific, but also can
benefit from abstraction along the class hierarchy. That means that
you may simply configure a common value for a super class instead of
taking care about all the child classes. The type information part of
the property name should be the simple name of the class (no package
information) and in lowercase. Configuration of classes with the same
name in different packages is not supported.
Map of initial cache control configuration objects for Http cache
control Header. See Resources.Cache.Cachecontrol for further details.
The configuration is URL pattern specific.
cae.cache-control.initial-max-age-for-type
Type
Map<String,Duration>
Description
Initial max-age value for Cache Control Header. Does not have to be
adjusted necessarily. The initial max-age value should be small, since
the effective cache duration is provided with the subsequent request.
The configuration is type specific, but also can benefit from
abstraction along the class hierarchy. That means that you may simply
configure a common value for a super class instead of taking care
about all the child classes. The type information part of the property
name should be the simple name of the class (no package information)
and in lowercase. Configuration of classes with the same name in
different packages is not supported.
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:
Set if everything after a ";" (semicolon) should be cut from
the request URI for for url-url-pattern matching. Eg. to see all
matrix parameters of fragement urls this should be set to
"false". Default is "true".
cae.cache-control.url-path.url-decode
Type
Boolean
Default
true
Description
Set if the request URI should be decoded for url-url-pattern matching.
Default is "true".
cae.cache-control.url-path.use-always-full-path
Type
Boolean
Default
false
Description
Set if the full path within the current web application context is
used for url-url-pattern matching. By default this is set to
"false" which means "/servlet" is cut off.
Table 3.3. Configuration Properties with Prefix cache.control