Experience Fragments caching strategies in AEMaacs | Community
Skip to main content
Level 2
March 14, 2024

Experience Fragments caching strategies in AEMaacs

  • March 14, 2024
  • 2 replies
  • 859 views

In AEMaacs, when we activate experience/content fragments, it still shows the stale experience fragments content in the cached pages which refer the fragments. What is the recommended approach to invalidate the cache apart from Sling Dynamic Include?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

aanchal-sikka
Community Advisor
Community Advisor
March 15, 2024

@srinivasanpa2 

 

Generally a TTL-based approach is used for XF & CF. That means you would not see the updates immediately. Even with SDI, you might want to consider caching, to avoid hitting the Publish servers for XF and CF request.

 

If we can't wait for TTLs, choice is to use Sling Distribution to explicitly flush Dispatcher and CDN cache: https://experience-aem.blogspot.com/2023/01/aem-cloud-service-invalidate-dispatcher-purge-fastly-cdn-cache-api.html

 

 

 

Aanchal Sikka
Level 2
March 20, 2024

Thank you.