Cache Policy
Defines how cached responses are evaluated for freshness.
A CachePolicy supports two strategies:
A percentage-based window (percent) for detail-style endpoints.
A fixed time-based expiry (expiry) for list-style endpoints.
Throws
If percent is not between 0.0 and 1.0 (exclusive), or if expiry is less than 1 hour.