Log in
Model

Identity

Magento\CmsGraphQl\Model\Resolver\Page\Identity

What it does

This class generates cache identity tags for CMS pages in GraphQL queries.

It implements Magento's cache invalidation system by providing unique cache tags based on the page ID, allowing the system to properly clear or refresh cached page data when a CMS page is updated.

Developers use this automatically when working with CMS page GraphQL queries to ensure proper cache management.

Public Methods

  • getIdentities()