eu.shiftforward.apso.akka.http
Inserts a "Cache-Control" header, instructing the browser to cache the HTTP response for the supplied duration.
Inserts a "Cache-Control" header, instructing the browser to cache the HTTP response for the supplied duration. The header key "max-age" specifies the number of seconds during which the browser should cache the HTTP response. In case the supplied duration is less than 1 second, this directive defaults to the minimum duration allowed, 1 second.
the duration for how long to cache the HTTP response
a Directive that inserts a Cache-Control header
Extracts a valid Referer host from the HTTP request headers
Exposes additional misc directives not present in akka.http.scaladsl.server.directives.MiscDirectives.