options

fun options(
    provider: (OutgoingContent) -> CachingOptions?
): Unit

Registers a function that can provide caching options for a given OutgoingContent