Cache Configuration

By default file responses will include caching headers. The following options determine how the Cache-Control header is built.

🔗

Table 1. Configuration Properties for FileTypeHandlerConfiguration
PropertyTypeDescription

netty.responses.file.cache-seconds

int

Cache Seconds. Default value (60).

🔗

Table 2. Configuration Properties for FileTypeHandlerConfiguration$CacheControlConfiguration
PropertyTypeDescription

netty.responses.file.cache-control.public

boolean

Sets whether the cache control is public. Default value (false)