I have Cloudflare Pro and using APO integration with my WP Website. I have tried SXGs for my website and totally loved the performance difference while opening the site from the Google search. But my only concern is the cache period of SXGs.
For example, I run a website that mainly focus on the resources for students and employment seekers. Whenever an exam result or an interview result is announced, I will update the existing article with direct links to check the same.
But the problem is Google keeps serving the cached SXG for almost 1 hour and users landing from the Google Search can’t see the updated content of my website.
I noticed the Google Cached SXG has
cache-control:private, max-age=3600 configured automatically.
My origin server doesn’t have any Cache-Control configured for the HTML pages. In Cloudflare’s Browser Cache TTL, I have “Respect Existing Headers” selected.
What would be the best way to have SXG cached for a smaller time or at least purge them for instantly cache invalidation for Google Search?