$responder->cache()
Setter and getter for the flag that defines whether the current response can be cached by Kirby's cache
Parameters
Name | Type | Default |
---|---|---|
$cache | bool |null |
null |
Return type
bool
|Kirby\Cms\Responder
This method modifies the existing $responder
object it is applied to and returns it again.