Log in
Model

CategoriesIdentity

Magento\CatalogGraphQl\Model\Resolver\Category\CategoriesIdentity

What it does

This class generates cache identity tags for GraphQL category queries to manage cache invalidation.

When categories are fetched through GraphQL, it creates unique cache tags combining the category cache tag with category IDs, allowing Magento to properly invalidate cached GraphQL responses when categories are updated.

Developers use this to ensure GraphQL category data stays synchronized with the cache system.

Public Methods

  • getIdentities()