Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

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


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?
0 Replies