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

SOLVED

Invalidating cache of graphql persistent queries

Avatar

Level 1

Hi guys,

 

For pages and assets, once you publish(or republish) that content, the replication or distribution service will start the process of invalidating the dispatcher cache.

But how can I start the process of invalidating the response cache of a persistent query? It seems that publishing the content fragment does not do the trick.

(And I couldn't really find an answer in the documentation)

 

Any help is appreciated, thanks!

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
1 Reply

Avatar

Correct answer by
Community Advisor

Hi @GuilhermeRios One option to invalidate response cache is browser cache duration in API Configuration screen. 

nitinjl_0-1645122370041.png

Not sure if you already gone through below reference link:

https://medium.com/tech-learnings/how-to-deliver-headless-content-through-graphql-api-and-content-fr...

https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/content-and-commerc...