# $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.

- Source: `src/Cms/Page.php#L570` <https://github.com/getkirby/kirby/blob/6.0.0-beta.1/src/Cms/Page.php#L570>
- Inherited from Kirby, not part of the Merx API. See <https://getkirby.com/docs/reference>.

```php
$productPage->isCacheable(null|Kirby\Content\VersionId $versionId = null): bool
```

## Parameters

| Name | Type | Default |
| --- | --- | --- |
| `$versionId` | `null\|Kirby\Content\VersionId` | `null` |

## Return type

`bool`

## Parent class

`Wagnerwagner\Merx\ProductPage` inherited from `Kirby\Cms\Page`
