$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
Kirby\Cms\Responder
|bool
This method does not modify the existing $responder
object but returns a new object with the changes applied. Learn more →