Type Method
cacheUpToDuration(_:)
The browser will cache the file for the specified duration.
static func cacheUpToDuration(_ duration: TimeAmount) -> FileMiddleware.CachePolicy
Discussion
A typical cache duration may be 5 minutes, for instance: .cacheUpToDuration(.minutes(5))