Skip to content

Kirby 3.7.5

Responder::isPrivate()

Checks whether the response needs to be exempted from all caches due to using dynamic data based on auth and/or cookies; the request data only matters if it is actually used/relied on by the response

Responder::isPrivate(bool $usesAuth, array $usesCookies): bool

Parameters

Name Type Default
$usesAuth * bool
$usesCookies * array

Return type

bool

Parent class

Kirby\Cms\Responder