$page->isCacheable()

Checks if the page can be cached

  • return (boolean)

Example

<?php if($page->isCacheable()): ?>
Great, this page can be cached.
<?php endif ?>