Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

AEM Time lag between publishing an asset and being available in Query results?

Avatar

Level 5

Can we programatically get status of an asset if its published or not? After we publish the Content Fragments they won't show up in GQL queries of published endpoints. What is the delay of results to get reflected in GQL query results if there is any? I have unpublished an asset right away (using replication API) programatically and even after 200 status it just doesn't seem to disappear from GQL persisted query results.

 

I am using publish endpoint to check the results (instead of author).

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

@spidey1405 If you are using Persisted Queries, it might not reflect instantly, as they have default TTL. Please check below URL to validate the default caching:
https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/headless/graphql-ap...

 

View solution in original post

2 Replies

Avatar

Community Advisor

If the assets are not available in publish you must get 404 status.
This will be your check against publish endpoints

Arun Patidar

AEM LinksLinkedIn

Avatar

Correct answer by
Employee Advisor

@spidey1405 If you are using Persisted Queries, it might not reflect instantly, as they have default TTL. Please check below URL to validate the default caching:
https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/headless/graphql-ap...