Log in
Model

CategoryTreeIdentity

Magento\CatalogGraphQl\Model\Resolver\Category\CategoryTreeIdentity

What it does

This class provides cache identity tags for GraphQL category tree queries.

When a category is queried via GraphQL, this class generates cache tags (both generic 'cat' and specific 'cat_123') that allow Magento to invalidate the appropriate cached responses when category data changes.

Developers use this to ensure GraphQL category queries are properly cached and invalidated.

Public Methods

  • getIdentities()