lastModified

fun lastModified(block: (Resource) -> GMTDate?)(source)

Configures HttpHeaders.LastModified for requested static content. For files, Resource is a requested File. For resources, Resource is a URL to a requested resource.

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

Report a problem