vertx / io.vertx.ext.web.handler / StaticHandler / setMaxAgeSeconds

setMaxAgeSeconds

abstract fun setMaxAgeSeconds(maxAgeSeconds: Long): StaticHandler

Set value for max age in caching headers

Parameters

maxAgeSeconds - maximum time for browser to cache, in seconds

Return
a reference to this, so the API can be used fluently