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()
has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.
Responder::isPrivate(bool $usesAuth, array $usesCookies): bool
Parameters
Name | Type | Default |
---|---|---|
$usesAuthrequired | bool |
no default value |
$usesCookiesrequired | array |
no default value |
Return type
bool