Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Performance and caching: AEM QueryBuilder API vs AEM GraphQL API?

Avatar

Level 5

Can someone brief me and help me decide which one to go with between AEM QueryBuilder Vs AEM GraphQL API?

 

  1. I see that you have option of persistent queries in GraphQL do we have any caching options in QueryBuilder? How can we leverage it to the fullest?
  2. Would using QueryBuilder against GraphQL mean drop in performance or it should be fine to use the same?
  3. In which cases would one suit better over other can you have a brief about it? I know that when you have sorting, pagination, etc operations you can't use GraphQL but what about all the other scenarios, would I have issues in performance or any advantage like caching over QueryBuilder if I use GQL or it would almost be the same?
1 Accepted Solution

Avatar

Correct answer by
Community Advisor
1 Reply

Avatar

Correct answer by
Community Advisor