Hello @sgochipata1
In AEM, the Last-Modified header on GraphQL persisted query responses does not update when underlying content is changed and published because it reflects only the modification date of the persisted query node itself - not the content fragments returned by the query.
HTTP caching using If-Modified-Since/Last-Modified won’t automatically revalidate on content updates.
You may rely on ETag headers for cache validation, as these can be configured to reflect actual content changes by properly setting up Apache/Dispatcher (e.g., using FileETag Digest). If ETags are missing or inconsistent, adjust your Dispatcher and Apache configuration.
https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/headless/deploym...
For scenarios needing the Last-Modified header to update, you would have to manually republish the persisted query.