$productPage->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.
$productPage->isCacheable(null|Kirby\Content\VersionId $versionId = null): bool
Parameters
| Name | Type | Default |
|---|---|---|
$versionId |
null or Kirby\Content\VersionId |
null |
Return type
bool
Parent class
Wagnerwagner\Merx\ProductPage inherited from Kirby\Cms\Page