CacheControl.value()

Set an explicit header value, replacing all configured directives.

Usage

Source

CacheControl.value(value)

This is an escape hatch: it bypasses directive helpers.

Safety: - Rejects CR/LF to prevent header-splitting. - Strips leading/trailing whitespace and rejects empty results.