Skip to main content
sarav_prakash
Community Advisor
Community Advisor
Feb 28, 2026 5:00 PM UTC
Investigating

Our custom solution to persistedquery cache clearence

I had a specific requirement wherein when author is editing headless content, by publishing content fragment, the latest content must realtime, immediately show at clientside. Out of box cache mechanism only provided TTL based. 

So I combined few ways, cooking custom solution to clear graphql query cache. 

Explain my custom solution here. 

https://medium.com/@bsaravanaprakash/how-to-eagerpurge-persistedquery-cache-upon-cf-publish-8864e0419c5e

2 replies

kautuk_sahni
Level 9
Mar 11, 2026 10:56 AM UTC

Thanks for proposing this idea. This has been reported to the engineering under the internal reference SITES-41707. The product team will triage this request to verify feasibility based on the prioritization model. This post will be updated according to Jira’s status.

Translate
Kautuk Sahni
kautuk_sahni
Level 9
Mar 11, 2026 12:25 PM UTC
New→Investigating
Translate
Kautuk Sahni