$page->isCacheable()
Checks if the page can be cached in the pages cache. This will also check if one of the ignore rules from the config kick in.
$page->isCacheable(Kirby\Content\VersionId|null $versionId = null): bool
Parameters
Name | Type | Default |
---|---|---|
$versionId | Kirby\Content\VersionId ornull |
null
|
Return type
bool
This method modifies the existing $page
object it is applied to and returns it again.