lastModified

fun lastModified(block: (WebJarAssetLocator.WebJarInfo) -> GMTDate?)

Specifies a value for HttpHeaders.LastModified to be used in the response. By default, it is the time when this Application instance started. Return null from this block to omit the header.

Note: for this property to work, you need to install the ConditionalHeaders plugin.