Skip to content

Kirby 6.0.0

$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(VersionId|null $versionId = null): bool

Parameters

Name Type Default
$versionId Kirby\Content\VersionIdornull null

Return type

bool

Parent class

Kirby\Cms\Page