Model
CacheableQueryHandler
Magento\GraphQlCache\Model\CacheableQueryHandler
What it does
This class manages GraphQL query caching by collecting cache tags and determining cache validity for HTTP responses.
Developers use this to ensure GraphQL queries are properly cached with appropriate cache tags, which are gathered from resolvers during query execution.
It validates that requests are cacheable GET requests before applying cache tags.
Public Methods
- handleCacheFromResolverResponse()