Skip to content

How to use cacheIdentity in dynamic block graphql in Magento 2

I want to use cache in dynamic block graphql with cacheIdentity.
I have added this into the graphql where I am getting the dynamic blocks data in the graphql response.

But how can I check weather the data is cached or not for the dynamic block?
Can anyone suggest the process to implement the cache?