Expand my Community achievements bar.

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...