Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Are results on headless cached?

Avatar

Employee

We are trying to check on a usecase and would want to understand if there is a possibility to cache the graphQL responses from AEM headless?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @adisharm,

You can configure Persisted GraphQL queries - all the details about this approach you can find under official Adobe tutorial/documentation - https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-with-aem-headless/g...

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Hi @adisharm,

You can configure Persisted GraphQL queries - all the details about this approach you can find under official Adobe tutorial/documentation - https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-with-aem-headless/g...

Avatar

Community Advisor

Yes, you can use Persisted GraphQL queries to cache response. Refer Adobe offical doc https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-with-aem-headless/g...

 

HeenaMadan_0-1660424940189.png