API / Minn\Http / NoCache

NoCache final class

Minn\Http\NoCache · public/minn/src/Minn/Http/NoCache.php · 16 lines

The headers that keep a response out of every cache.

Public

staticheaders(): array#

The headers (wp_get_nocache_headers): an expiry in the past and a Cache-Control that forbids storing, as nocache_headers leaves them, with Last-Modified always marked for removal.

@return array<string, mixed>